开发者

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

开发者 https://www.devze.com 2023-03-02 17:43 出处:网络
I have a Visual Studio 2010 SharePoint 2010 project that was created with a local site that is no longer a SharePoint开发者_运维问答 site because the port number was required for another application.H

I have a Visual Studio 2010 SharePoint 2010 project that was created with a local site that is no longer a SharePoint开发者_运维问答 site because the port number was required for another application. However, another local site is available for SharePoint development.

Where is the local site setting stored, so that I can change the port? I can't find it in the .csproj file or any of the other project (and solution) files.


Highlight the project you are working on within the Solution Explorer and update the SiteURL property to reflect the local site you would like to use.


Despite looking for a long time, somehow I knew I'd find the answer as soon as I asked the question. The setting is in the .csproj.user file. Lesson: don't trust Visual Studio "Find In Files".

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号