How to get an assembly version without locking the file? [duplicate]
-
27-10-2019 - |
题
Possible Duplicate:
How to load an assembly without using Assembly.Load?
How to get an assembly version without locking the file?
解决方案
Worked it out
var targetVersion = AssemblyName.GetAssemblyName(filePath).Version;
不隶属于 StackOverflow