问题描述
我已经阅读了许多文章,包括,但我仍然不知道有什么区别,他们也没有用简单的术语或根本没有解释过。
I've read many articles, including this one, yet I can't still figure out what's the difference, and they have not explained it either in simple terms or at all.
有人可以澄清一下.NET SDK和.NET Runtime有什么区别吗?
Can someone please clarify what's the difference between .NET SDK and .NET Runtime?
更新:使用比较将不胜感激。
Update: Using comparisons would be very appreciated. Analogy alongside simple English is highly educational.
推荐答案
根据,.NET Core由以下各项组成
According to the .Net Core Guide, .NET Core is composed of the following items
SDK是所有需要/使开发.NET Core应用程序变得容易的东西,例如CLI和编译器。
The SDK is all of the stuff that is needed/makes developing a .NET Core application easier, such as the CLI and a compiler.
运行时是承载虚拟机的虚拟机/运行该应用程序并提取与基本操作系统的所有交互。
The runtime is the "virtual machine" that hosts/runs the application and abstracts all the interaction with the base operating system.
只有后者才需要运行该应用程序,而前者则需要开发该应用程序。
Only the latter is required to run the application, but the former is needed to develop the application.
这篇关于.NET Core中的SDK和Runtime有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!