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

删除回忆录丶 提交于 2019-11-27 13:24:50

问题


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 .

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

  • Runtime Version : v2.0.50727
  • Version : 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?)


回答1:


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.



来源:https://stackoverflow.com/questions/8573942/what-is-the-difference-between-version-and-runtime-version-in-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!