Jason
Jason

Reputation: 2288

Change where Visual Studio looks for project file?

Is there a way to change where visual studio looks for project files(.vcxproj)? So I can keep all visual studio related files in separate VS folder and have my project still open and save correctly in visual studio.

Upvotes: 1

Views: 1171

Answers (1)

Jason
Jason

Reputation: 2288

I figured it out. I can open up visual studio's solution file (.sln) in notepad and edit the path to the project file there. It's can be done on this line:

Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Solution", "Project/Project.vcxproj", "{E3671A4E-1047-4D41-8AF1-EA19EAC2C601}"

So right now the .sln file is looking for the project file within 'Project/'. All I have to do is change the path here in relation to the solution file.

Upvotes: 2

Related Questions