aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/VersionCommand.cs
blob: a04aac31c847cabc73c4e62043b42edb46934bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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.

namespace WixToolset.Core.CommandLine
{
    using System;
    using WixToolset.Extensibility.Services;

    internal class VersionCommand : ICommandLineCommand
    {
        public int Execute()
        {
            Console.WriteLine("wix version {0}", ThisAssembly.AssemblyInformationalVersion);
            Console.WriteLine();

            return 0;
        }
    }
}