开发者

How can we reset the configuaration in VS2008_C++

开发者 https://www.devze.com 2022-12-25 07:24 出处:网络
How can I reset the configuration 开发者_StackOverflow中文版parameter in VS2008 C++ I misconfigured my project Create a new project file.

How can I reset the configuration 开发者_StackOverflow中文版parameter in VS2008 C++ I misconfigured my project


Create a new project file.

Close your solution, go to the directory where your solution lives and delete the .vcproj file(s). You should also delete the .sln files, but if you have a very large solution with many projects and would find it unbearable to recreate all the projects, you can leave it intact.

Once the project file is deleted, you can construct a new one. Either create a new solution from scratch, or if you have kept your solution then do Add>NewProject. When you create a new project, you should select the option to create an Empty Project, so that it doesn't create any default source files for you.

Once you have created a blank project, you need to add your existing source code to the project. You can do this simply by doing Add>Existing Item... and selecting every source file.

0

精彩评论

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