diff options
author | Rob Mensching <rob@firegiant.com> | 2017-09-17 15:35:20 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-09-17 16:00:11 -0700 |
commit | d3d3649a68cb1fa589fdd987a6690dbd5d671f0d (patch) | |
tree | 44fe37ee352b7e3a355cc1e08b1d7d5988c14cc0 /src/WixToolset.Core/CommandLine/VersionCommand.cs | |
parent | a62610d23d6feb98be3b1e529a4e81b19d77d9d8 (diff) | |
download | wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.gz wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.bz2 wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.zip |
Initial code commit
Diffstat (limited to 'src/WixToolset.Core/CommandLine/VersionCommand.cs')
-rw-r--r-- | src/WixToolset.Core/CommandLine/VersionCommand.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/WixToolset.Core/CommandLine/VersionCommand.cs b/src/WixToolset.Core/CommandLine/VersionCommand.cs new file mode 100644 index 00000000..a1980a2b --- /dev/null +++ b/src/WixToolset.Core/CommandLine/VersionCommand.cs | |||
@@ -0,0 +1,17 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | using System; | ||
4 | |||
5 | namespace WixToolset.Core | ||
6 | { | ||
7 | internal class VersionCommand : ICommand | ||
8 | { | ||
9 | public int Execute() | ||
10 | { | ||
11 | Console.WriteLine("wix version {0}", ThisAssembly.AssemblyInformationalVersion); | ||
12 | Console.WriteLine(); | ||
13 | |||
14 | return 0; | ||
15 | } | ||
16 | } | ||
17 | } | ||