dotnet.exe command for .NET and .NET Core

夙愿已清 提交于 2020-12-26 11:01:54

问题


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

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.


回答1:


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

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.



来源:https://stackoverflow.com/questions/54335797/dotnet-exe-command-for-net-and-net-core

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!