Reputation: 291
This is a real newbie question:
If I create a simple project in .NET, lets say at c:\project\test, and then change the directory name from project to say project2, when I try to open the .sln file my project will not open, I mean the .NET program opens and runs but nothing is there. If I change the directory name back to project, it still will not open the project. What is going on here?
Upvotes: 0
Views: 98
Reputation: 291
Jorgen was right. It was a dumb question. Nothing disappeared. The answer is to find the moved project in the Solution Explorer and reload the project. Then everything works just fine.
Upvotes: 0
Reputation: 20314
This doesn't really have to do with Visual Studio at all. If you change the directory of ANY file, any program that is associated with it obviously won't know where the heck it went!
Upvotes: 0
Reputation: 43077
Changing the directory name does not update the solution file. You can try opening .sln in notepad and fixing the path to the .vcxproj project file.
See File Types and File Extensions in Visual Studio for more information.
Upvotes: 4