简体   繁体   English

.Net中的版本和“运行时版本”有什么区别?

[英]What is the difference between Version and 'Runtime Version' in .Net?

When I open the properties window of one of the referenced dlls in my project in Visual Studio I see a Version and also a runtime version . 当我在Visual Studio的项目中打开其中一个引用的dll的属性窗口时,我看到了一个版本,还有一个运行时版本。

Actually it is Rhino.Mocks library I am checking. 实际上是我正在检查的Rhino.Mocks库。 And I see 我明白了

  • Runtime Version : v2.0.50727 运行时版本:v2.0.50727
  • Version : 3.6.0.0 版本:3.6.0.0

What is the difference? 有什么不同? (Does it mean I am not able to use 3.6.0.0 of the Rhino Mocks?) (这是否意味着我无法使用3.6.0.0的Rhino Mocks?)

Runtime is the version of the CLR (or .NET framework) the DLL needs (usually as a minimum), version is the DLL's version. 运行时是DLL需要的CLR(或.NET框架)的版本(通常作为最低限度),版本是DLL的版本。

So long as you have the minimum runtime installed, it should be usable. 只要安装了最小运行时,它就应该可用。 However as a general rule it is usually best to select the latest version of the library for the latest runtime support etc. 但是作为一般规则,通常最好选择最新版本的库以获得最新的运行时支持等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .NET Framework和CLR版本之间有什么区别 - What is the difference between .NET Framework and CLR Version *正在运行的框架版本*和运行时运行的*版本*之间有什么区别? - What is the difference between *which version of the framework is running* and *which version of the runtime is running*? .NET 3.5版和.NET 3.5客户端配置文件之间有什么区别 - What is the difference between .NET version 3.5 and .NET version 3.5 client profile 各种 MSBuild 版本属性(例如 Version、VersionPrefix 和 VersionSuffix)之间有什么区别? - What is the difference between various MSBuild version properties, such as Version, VersionPrefix, and VersionSuffix? 默认的.NET运行时版本 - Default .NET Runtime Version MMC .Net运行时版本 - MMC .Net Runtime Version .Net框架的v2.0.50727.3053版和v2.0.50727.3074版有什么区别? - What is the difference between version v2.0.50727.3053 and v2.0.50727.3074 of the .Net framework? 使用.NET 4.5编写的软件需要什么版本的.NET运行时? - What version of .NET runtime is needed for a software written in .NET 4.5? ASP.NET和.NET框架版本之间的区别 - Difference between ASP.NET and .NET framework version .NET方法(.dll)和反映版本之间的性能差异 - Performance difference between .NET method (in .dll) and reflected version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM