在.NET版本和“运行时版本”之间的区别是什么? [英] What is the difference between Version and 'Runtime Version' in .Net?

查看:1026
本文介绍了在.NET版本和“运行时版本”之间的区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在我的Visual Studio项目打开被引用的DLL之一的属性窗口我看到一个版本,也是一个运行时版本。

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 .

其实这是Rhino.Mocks库我检查。而且我看到

Actually it is Rhino.Mocks library I am checking. And I see

  • 在运行时版本:V2.0.50727
  • 版本: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?)

推荐答案

运行时是CLR(或.NET框架?)的DLL需要(通常为最低),版本是DLL版本的版本。

Runtime is the version of the CLR (or .NET framework?) the DLL needs (usually as a minimum), version is the DLL's version.

只要你安装了最低运行时,它应该是可用的。但作为一般规则,它通常是最好的选择最新的运行时支持等库的最新版本。

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.

这篇关于在.NET版本和“运行时版本”之间的区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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