有没有办法在Visual Studio 2017中首先创建一个空白解决方案(.sln)文件,然后添加项目?

时间:2018-06-18 10:26:54

标签: c# visual-studio-2017

我们知道在其他版本的Visual Studio中有Other Project Types模板,但2017年没有。

我们如何在VS 2017中添加空解决方案文件?

enter image description here

3 个答案:

答案 0 :(得分:4)

您的屏幕截图适用于 添加 新项目(请参阅左上角标题),这意味着您已打开解决方案。

先关闭它。然后使用新项目并查看其他项目类型。

答案 1 :(得分:2)

是的。只需转到其他项目类型 - > Visual Studio解决方案。

Visual Studio Community 2017
版本:15.7.2

enter image description here

答案 2 :(得分:-1)

感谢您的宝贵意见和答案。我安装了this vsixenter image description here

后,我获得了"file_get_contents was found in the file xxx File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls." 模板

...谢谢