困惑.NET可再发行组件包和SDK再发、组件、困惑、SDK

2023-09-08 08:40:53 作者:6.厌世小仙女

1。

假设你没有安装Visual Studio和你想用于开发命令行,你需要.NET框架SDK?

Assuming that you don't have Visual Studio installed and you want to use command line for development, do you need the .NET framework SDK?

原因我的困惑是,可再发行的说明说,Microsoft .NET框架4可再发行组件包将安装.NET Framework运行库,以及需要运行的相关文件,并制定应用针对.NET Framework 4。

The reason for my confusion is that the description for the redistributable says "The Microsoft .NET Framework 4 redistributable package installs the .NET Framework runtime and associated files that are required to run and develop applications to target the .NET Framework 4."

在这种情况下,为什么SDK的需要?

In this case, why is the SDK needed?

2。

如果我理解正确,合理引进REDIST的客户端配置文件风味的背后是有一个更小的安装。然而,这似乎是更小的仅仅是15%(41 MB比48 MB,请参见下面的链接)。是不是真的值得吗?

If I understand correctly, the rational behind the introduction of the client profile flavor of the redist was to have a smaller installation. Yet, it seems to be merely 15% smaller (41 MB vs 48 MB, see links below). Is it really worth it?

链接: 客户端配置文件REDIST 全部REDIST SDK

Links: Client profile redist Full redist SDK

推荐答案

运行是必须在该打算运行.NET应用程序的计算机上安装该组件。

Runtime is the component that must be installed on machines that intend to run .NET applications.

再发行组件包安装所需要的运行和开发应用的.NET框架运行时和相关文件。

The redistributable package installs the .NET Framework runtime and associated files that are required to run and develop applications.

该SDK软件开发工具包,并提供了工具,编译器,头文件,库,code样品,帮助系统等,开发人员可以用它来创建在Microsoft Windows上运行的应用程序。

The SDK is a software development kit and provides tools, compilers, headers, libraries, code samples, help system etc. that developers can use to create applications that run on Microsoft Windows.

要发展,你需要的SDK。

To develop you will need SDK.

编辑: 要回答第二个问题: 那么大小的差异并不是唯一的考虑因素。 客户端配置文件的的的框架,将可以在Windows Update中的台式机

To answer second question: Well size difference is not the only consideration. Client Profile is the framework that will be available on Windows Update for desktops

我要引用斯科特Hanselman的:

I will quote Scot Hanselman:

总的想法是,他们   (微软)的避免安装的东西,你不需要客户端计算机。那   装置,他们不会在安装ASP.NET   你妈的电脑只是因为她   想要一个游戏。此外,.NET 4的客户端   轮廓是.NET的真子集   4完整框架。

The general idea is that they (Microsoft) avoid installing things you don't need a client machine. That means they won't install ASP.NET on your Mom's computer just because she wants a game. Also, the .NET 4 Client profile is a proper subset of the .NET 4 "Full" Framework.

更多关于他的博客。