2
votes

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.

2

2 Answers

6
votes

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.

0
votes

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".