简体   繁体   English

如何从.proj文件制作Visual Studio解决方案文件

[英]How to make visual studio solution file from .proj files

I have a msbuild project file myproject.proj. 我有一个msbuild项目文件myproject.proj。 Now is there any way I can make a solution file ( .sln ) from the .proj file. 现在有什么方法可以从.proj文件制作解决方案文件( .sln )。 If this is not possible. 如果这不可能。 Is there any ways I can make a solution file from a group of csproj files? 有什么方法可以从一组csproj文件制作解决方案文件?

If you would like to do manually. 如果您想手动进行。

  1. Open Visual Studio 打开Visual Studio
  2. File>Open>Project/Solution 文件>打开>项目/解决方案
  3. Provide/Select existing vcxproj file. 提供/选择现有的vcxproj文件。
  4. File>Save Solution. 文件>保存解决方案。 Provide name. 提供姓名。 Or If you fire build, it will ask you for name first time. 或者,如果您解雇了建筑,它将在第一时间要求您输入名称。

Same can be done for many vcxproj as well. 许多vcxproj也可以完成相同的操作。 Repeat step 3. 重复步骤3。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使(.cs)代码文件在Visual Studio解决方案资源管理器中的另一个代码文件下展开/折叠? - How to make (.cs) code files expand / collapse underneath another code file in Visual Studio solution explorer? 如何制作Visual Studio解决方案文件的模板? - How can i make a template of my Visual Studio Solution files? 如何从Powershell运行Visual Studio调试uwp项目? - How run a visual studio debug of a uwp proj from powershell? 如何从NANT构建文件创建Visual Studio解决方案和项目文件 - How to create Visual Studio solution and project files from NANT build file 打开Visual Studio解决方案时如何使文件显示 - How to make file show when opening Visual Studio solution 如何从Visual Studio中的项目解决方案中删除其他构建文件 - How to Delete Additional build files from the Project Solution in visual studio 如何阻止Visual Studio自动创建解决方案文件 - How to stop Visual Studio from automatically creating solution files Visual Studio解决方案文件 - Visual Studio Solution Files 如何从 Visual Studio 解决方案文件创建 makefile? - How do I create a makefile from a Visual Studio solution file? 如何从命令提示符打开 Visual Studio 解决方案文件 - How to open Visual Studio Solution File from the Command Prompt
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM