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

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

问题描述

通过链接,我们可以下载Core SDK和运行时.我了解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应用程序,则甚至不需要运行时即可运行它.
假设您有两台计算机,其中一台将创建您的应用程序,而您想在另一台计算机上运行该应用程序.在第一台计算机上,您将需要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天全站免登陆