How can I get the executing assembly version?
-
31-10-2019 - |
質問
I am trying to get the executing assembly version in C# 3.0 using the following code:
var assemblyFullName = Assembly.GetExecutingAssembly().FullName;
var version = assemblyFullName .Split(',')[1].Split('=')[1];
Is there another proper way of doing so?
正しい解決策はありません
所属していません StackOverflow