mirror of https://github.com/icsharpcode/ILSpy.git
4 changed files with 24 additions and 0 deletions
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
dotnet publish -c release -r win7-x64 |
||||
dotnet publish -c release -r osx-x64 |
||||
dotnet publish -c release -r linux-x64 |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
using System; |
||||
using System.Management.Automation; |
||||
using ICSharpCode.Decompiler.TypeSystem; |
||||
|
||||
namespace ICSharpCode.Decompiler.PowerShell |
||||
{ |
||||
[Cmdlet(VerbsCommon.Get, "DecompilerVersion")] |
||||
[OutputType(typeof(string))] |
||||
public class GetDecompilerVersion : PSCmdlet |
||||
{ |
||||
protected override void ProcessRecord() |
||||
{ |
||||
WriteObject(typeof(FullTypeName).Assembly.GetName().Version.ToString()); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue