我什么时候需要下载 .Net core Runtime? [英] When do i need to download the .Net core Runtime?

查看:34
本文介绍了我什么时候需要下载 .Net core Runtime?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个链接,我们可以下载Core SDK和Runtime.我知道 SDK 包括运行时.但是在什么情况下我应该下载 .Net Core Runtime?

From this link, we can download Core SDK and Runtime. I understand that SDK includes runtime. But in what situation i should download the .Net Core Runtime ?

推荐答案

如果您只想运行 .Net Core 应用程序,则需要运行时.如果您想构建 .Net Core 应用程序,您需要 SDK(包括运行时).但是,如果您构建一个自包含的 .Net Core 应用程序,您甚至不需要运行时来运行它.
假设您有 2 台计算机,您将在其中一台计算机上创建您的应用程序,并且您想在另一台计算机上运行该应用程序.在第一台计算机上,您需要 SDK,而在另一台计算机上,您只需要运行时.但是,如果您将应用程序构建为一个独立的应用程序,则在第二台计算机上也不需要运行时.
希望这有帮助.

If you only want to run an .Net Core application, you need the runtime. If you want to build .Net Core apps you need the SDK(which includes runtime). But if you build a .Net Core app that is self-contained, you wouldn't even need the runtime for running it.
Lets say you have 2 Computers, on one you will create your app and you want to run the app on the other computer. On the first computer you would need the SDK, and on the other computer you would only need the runtime. But if you built your app as a self-contained one, you wouldn't need the runtime either on the second computer.
Hope this helps.

这篇关于我什么时候需要下载 .Net core Runtime?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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