且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Sharepoint项目无法调试

更新时间:2021-12-04 03:54:48

Locate and open the target SharePoint application's Web.config file. By default, it is located in C:\Inetpub\wwwroot\wss\VirtualDirectories\80.
Find the following line of code and change the debug attribute to true.
XML
<compilation batch="false" debug="false">

Save the changes to the Web.config file.
In Visual Studio, right-click the SharePoint project, and then click Properties.
Click the Debug tab, and then type the target SharePoint URL in the Start browser with URL box.
Place a breakpoint in the code, and then press F5.