Is .sln file required by Visual Studio for ASP.NET 5 project? Can it just use Global.json?

前端 未结 2 1335
旧巷少年郎
旧巷少年郎 2021-01-17 21:42

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.

<
2条回答
  •  粉色の甜心
    2021-01-17 22:31

    As far as I'm aware, the SLN is a 100% Visual Studio Tooling concept.

    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.

    UPDATE:

    I've read reports that Visual Studio can open global.json and project.json file without their respective sln/xproj file present.

提交回复
热议问题