开发者

Visual C++ .net: Disappearing project

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?


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.


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!


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜