在ASP.NET 5项目中,Visual Studio创建一个SLN文件.还有一个global.json文件,据我了解是核心解决方案文件.
In a ASP.NET 5 project Visual Studio creates a SLN file. There is also a global.json file which my understanding was the core solution file.
SLN文件是否仅用于VS支持?您可以在不使用SLN文件的情况下在VS中打开解决方案吗?
Is SLN file just for VS support? Can you open a solution in VS without using SLN file?
我认为非VS工具会忽略SLN文件,因为它是基于文件夹的?
I assume non VS tooling ignores the SLN file as it is folder based?
推荐答案据我所知,SLN是100%的Visual Studio Tooling概念.
As far as I'm aware, the SLN is a 100% Visual Studio Tooling concept.
您仍然可以创建应用程序,无需该文件即可运行/编译/发布它们.这就是Visual Studio Code的工作方式,也是您在Sublime/Atom或任何其他编辑器中的工作方式.
You can still create applications, run/compile/publish them without this file. That's how Visual Studio Code does it and that's how you would do it in Sublime/Atom or any other editors.
更新:
我已经阅读了有关Visual Studio可以打开global.json和project.json文件而没有它们各自的sln/xproj文件的报告.
I've read reports that Visual Studio can open global.json and project.json file without their respective sln/xproj file present.
更多推荐
Visual Studio for ASP.NET 5项目是否需要.sln文件?可以使用Global.json吗?
发布评论