I use the following code to get the assembly set version in the Windows GAC folder.
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
string productVersion = fvi.ProductVersion;
After running the above code, I am mannualy RightClick and get the version of assemblies. The version returned productVersionis different from the manual value for some assemblies . Any possible reason?
source
share