Visual Studio for ASP.NET 5项目是否需要.sln文件?可以使用Global.json吗? [英] Is .sln file required by Visual Studio for ASP.NET 5 project? Can it just use Global.json?

查看:78
本文介绍了Visual Studio for ASP.NET 5项目是否需要.sln文件?可以使用Global.json吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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.jsonproject.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吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆