diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/VersionCommand.cs')
-rw-r--r-- | src/WixToolset.Core/CommandLine/VersionCommand.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/VersionCommand.cs b/src/WixToolset.Core/CommandLine/VersionCommand.cs index 50e90a93..6ce2a89d 100644 --- a/src/WixToolset.Core/CommandLine/VersionCommand.cs +++ b/src/WixToolset.Core/CommandLine/VersionCommand.cs | |||
@@ -3,6 +3,8 @@ | |||
3 | namespace WixToolset.Core.CommandLine | 3 | namespace WixToolset.Core.CommandLine |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.Threading; | ||
7 | using System.Threading.Tasks; | ||
6 | using WixToolset.Extensibility.Data; | 8 | using WixToolset.Extensibility.Data; |
7 | using WixToolset.Extensibility.Services; | 9 | using WixToolset.Extensibility.Services; |
8 | 10 | ||
@@ -12,12 +14,12 @@ namespace WixToolset.Core.CommandLine | |||
12 | 14 | ||
13 | public bool StopParsing => true; | 15 | public bool StopParsing => true; |
14 | 16 | ||
15 | public int Execute() | 17 | public Task<int> ExecuteAsync(CancellationToken cancellationToken) |
16 | { | 18 | { |
17 | Console.WriteLine("wix version {0}", ThisAssembly.AssemblyInformationalVersion); | 19 | Console.WriteLine("wix version {0}", ThisAssembly.AssemblyInformationalVersion); |
18 | Console.WriteLine(); | 20 | Console.WriteLine(); |
19 | 21 | ||
20 | return 0; | 22 | return Task.FromResult(0); |
21 | } | 23 | } |
22 | 24 | ||
23 | public bool TryParseArgument(ICommandLineParser parseHelper, string argument) => true; // eat any arguments | 25 | public bool TryParseArgument(ICommandLineParser parseHelper, string argument) => true; // eat any arguments |