سؤال

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;
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top