开发者

How to get an assembly version without locking the file? [duplicate]

开发者 https://www.devze.com 2023-02-07 15:29 出处:网络
This question already has answers here: Closed 12 year开发者_高级运维s ago. Possible Duplicate: How to load an assembly without using Assembly.Load?
This question already has answers here: Closed 12 year开发者_高级运维s ago.

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;
0

精彩评论

暂无评论...
验证码 换一张
取 消