.NET和.NET Core的dotnet.exe命令

编程入门 行业动态 更新时间:2024-10-21 15:52:58
本文介绍了.NET和.NET Core的dotnet.exe命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经安装了".NET Framework"在我的电脑上.我还安装了".NET Core Framework".

I have installed ".NET Framework" on my computer. I have also installed ".NET Core Framework".

运行 dotnet.exe 命令时使用哪个框架?我以为会有2个 dotnet.exe 命令,但是只有一个.

Which framework is used, when I run the dotnet.exe command? I was thinking there will be 2 dotnet.exe commands, but there is only one.

推荐答案

dotnet.exe 工具属于.Net Core CLI (命令行界面),在较旧的.Net Framework中确实没有等效项.

The dotnet.exe tool belongs to .Net Core CLI (Command Line Interface), there really isn't an equivalent in the older .Net Framework.

您的系统上可以有多个 dotnet.exe 文件,但它们都属于.Net Core,因为它允许并排安装多个版本.除非您通过 global.json 文件.

You can have multiple dotnet.exe files on your system, but they would all be .Net Core, as it allows side-by-side installations of multiple versions. It will default to the newest version (including pre-release versions), unless you designate which one to use via a global.json file.

更多推荐

.NET和.NET Core的dotnet.exe命令

本文发布于:2023-11-05 08:18:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1560340.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:命令   Core   NET   exe   dotnet

发布评论

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

>www.elefans.com

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