Debugging SharePoint 2007 Code

前端 未结 5 1091
面向向阳花
面向向阳花 2021-02-10 04:05

How do you debug your SharePoint 2007 code? Since SharePoint runs on a remote server, and I\'m developing on a windows xp machine (with the necessary .dll files copied into my

5条回答
  •  -上瘾入骨i
    2021-02-10 04:40

    Don't put your assemblies into the GAC, put them in the bin directory - then you can use the VS remote debugger. Google creating .WSP files for distribution.

    This also has the advantage that its easier to copy your new builds onto the server after compilation (post-build step) and its also the recommended way to increase security.

提交回复
热议问题