Empty Visual Studio Project?

前端 未结 7 739
既然无缘
既然无缘 2021-01-30 12:24

Is there a way to have an empty Project in Visual Studio 2008 or 2010? I do not mean an empty solution, I mean an empty project in a solution. Basically I have a solution with m

7条回答
  •  悲&欢浪女
    2021-01-30 12:53

    I was misled by the C++ "Empty Project" or "Makefile Project". I cant create new folder there.

    Here are three steps to add an empty C# project:

    1) Create the project. (Add > New Project > Visual C# > Windows > Empty Project)

    2) Exclude it from build. (Build > Configuration Manager, uncheck Build on both Debug and Release configuration)

    3) Replace its csproj content with the following 3 liners:

    
    
    
    

    There you go. You can create a folder in this project, yet it does not build.

提交回复
热议问题