How to find out which version of the .net DLL is built on software?

How to find out which version of the .net DLL is built at the software level?

thanks

+4
source share
2 answers

Assembly.GetAssembly returns Assembly , which has the Assembly.ImageRuntimeVersion property. This property description says: "Gets a string representing the version of the CLR runtime stored in the file containing the manifest."

I think you are after.

+4
source

Here is the corresponding answer Define the assembly version (CLR) of the assembly, you probably cannot do this without an external process call.

0
source

All Articles