aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/VersionCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/CommandLine/VersionCommand.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/VersionCommand.cs17
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
3using System;
4
5namespace 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}