您使用什么设置进行 SharePoint (WSS/MOSS) 开发? [英] What setup do you use for SharePoint (WSS/MOSS) development?

查看:31
本文介绍了您使用什么设置进行 SharePoint (WSS/MOSS) 开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想知道其他 SharePoint 开发人员如何设置他们的开发工作站.

I'm curious to know how other SharePoint developers setup their dev workstations.

我当前的设置:

  • 带有 Server 2008 的桌面(仅适用于 Hyper-V,之前使用的是 Vista)
  • 在本地机器上使用 Visual Studio 2008 进行开发工作
    • 保留 SharePoint DLL 的本地副本以供参考,无需安装本地 SharePoint

    我将所有 SharePoint 更改开发为 WSP,并将它们安装到 VM 中进行测试.我不在调试模式下运行代码,但会编写大量跟踪语句来观察我的代码在做什么.

    I develop all my SharePoint changes as a WSP and install them into the VM for testing. I don't run code in debug mode, but do write lots of trace statements to watch what my code is doing.

    此外,当我进行快速更改时,我通常不会重新安装整个 WSP.我只是重新编译我更改的任何 DLL 并将其复制到我的 SharePoint VM 中的 GAC,然后重置 IIS(通常编写 Web 部件).

    Also, when I'm making quick changes, I normally don't reinstall the entire WSP. I just recompile whatever DLL I changed and copy it into the GAC in my SharePoint VM, then reset IIS (normally writing Web Parts).

    我知道如果我在本地运行 SharePoint 会更容易,但我通常一次处理多个项目并且不希望事情受到干扰.

    I know things would be easier if I ran SharePoint locally, but I'm normally working on more than one project at a time and don't want things to interfere.

    推荐答案

    绝对更喜欢直接在 VM 和 SharePoint 中工作,因为我可以正确调试进程,我还有一个 构建脚本 要么重新部署我的整个解决方案,要么让我刷新海关总署.

    Definitely prefer working in VM with SharePoint directly as I can debug into processes correctly, also I have a build script that will either redeploy my entire solution or let me just refresh the GAC.

    这篇关于您使用什么设置进行 SharePoint (WSS/MOSS) 开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆