Joshua Hester
Joshua Hester

Reputation: 127

Change path to project Microsoft Visual Studio

I am working on a website on visual studio, I am a little new to visual studio and I am trying to move my whole directory for my website to my google drive so I can work on it on multiple computers.

How would I go about changing the source files located in the project file for visual studios.

Or is there an easier way?

Upvotes: 2

Views: 5389

Answers (1)

Philip Pittle
Philip Pittle

Reputation: 12295

Easiest way is to Remove the project in Visual Studio and then Add Existing Project and point to your new location.

enter image description here enter image description here

You could alternatively use a text editor to edit the .sln file. The top of the file defines Project elements:

 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = 
       "SignalR.Backplane", "SignalR.Backplane\SignalR.Backplane.csproj", 
       "{EBF95949-81E0-4571-8014-E91B7577FB07}"
 EndProject

The second property is the path (relative or absolute) to the csproj file representing the project.

Upvotes: 3

Related Questions