SIGN UP MEMBER LOGIN:    
Blog

How to change the SharePoint 2010 local site used for debugging in Visual Studio

Posted by Dipal Choksi Blogs | SharePoint Jul 08, 2011
How to change the SharePoint 2010 local site used for debugging in Visual Studio

How to change the SharePoint 2010 local site used for debugging in Visual Studio

While creating a SharePoint project in Visual Studio, the New Project wizard prompts for the local site to be used for debugging  the project. If you need to use a different site after the project has been created, you can update the setting as follows:

 

In Visual Studio Solution Explorer, Select the Project that you need to update. View the properties for this project (click F4) – In the properties window, update the SiteURL property value.

 

You won't be able to locate the file to be updated by searching the Visual Studio solution.  The setting is physically stored in the <SharePointSiteUrl> element within the .csproj user configuration file for the project . If you update the file directly, you will need to reload the project in Visual Studio for the updated setting to take effect.

Happy Coding!


 

share this blog :
post comment
 

Dipal i read your all articles , they are very useful waiting some more useful articles.

Posted by Dinesh Beniwal Jul 09, 2011

Thanks Dinesh.

Posted by Dipal Choksi Jul 08, 2011

Useful Blog, Welcome Back Dipal....

Posted by Dinesh Beniwal Jul 08, 2011