mirror of https://github.com/abpframework/abp.git
3 changed files with 23 additions and 3 deletions
@ -0,0 +1,12 @@ |
|||
using System.Diagnostics; |
|||
|
|||
namespace System.Reflection |
|||
{ |
|||
public static class AbpAssemblyExtensions |
|||
{ |
|||
public static string GetFileVersion(this Assembly assembly) |
|||
{ |
|||
return FileVersionInfo.GetVersionInfo(assembly.Location).FileVersion; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue