Visual Studio for ASP.NET 5项目是否需要.sln文件?可以使用Global.json吗?

编程入门 行业动态 更新时间:2024-10-22 23:26:45
本文介绍了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.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吗?

本文发布于:2023-11-14 09:21:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1586830.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可以使用   文件   项目   ASP   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!