Sharepoint项目无法调试 [英] Sharepoint project not able to debug
本文介绍了Sharepoint项目无法调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi,
I am not able to debug the Sharepoint project in Visual studio solution even after attaching W3workerprocess. please help me on this.
What I have tried:
I cheked project properties, website URL is also correct.
Attachched correct workerprocess.but still i am not able to debug the solution
推荐答案
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.
这篇关于Sharepoint项目无法调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文