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?)
Adam Houldsworth
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