From 47161f5d08fd518a349badf054e3651b3cd14024 Mon Sep 17 00:00:00 2001 From: Michael Ganss Date: Wed, 11 Apr 2018 12:42:45 +0200 Subject: [PATCH] Build console application as .NET Core CLI tool dotnet-xscgen Fixes #56 --- XmlSchemaClassGenerator.Console/Program.cs | 2 +- .../XmlSchemaClassGenerator.Console.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/XmlSchemaClassGenerator.Console/Program.cs b/XmlSchemaClassGenerator.Console/Program.cs index bdabdb7b..53b8809b 100644 --- a/XmlSchemaClassGenerator.Console/Program.cs +++ b/XmlSchemaClassGenerator.Console/Program.cs @@ -155,7 +155,7 @@ static KeyValuePair ParseNamespace(string nsArg, string na static void ShowHelp(OptionSet p) { - System.Console.WriteLine("Usage: XmlSchemaClassGenerator.Console [OPTIONS]+ xsdFile..."); + System.Console.WriteLine("Usage: dotnet xscgen [OPTIONS]+ xsdFile..."); System.Console.WriteLine("Generate C# classes from XML Schema files."); System.Console.WriteLine("Version " + typeof(Generator).Assembly.GetName().Version); System.Console.WriteLine(@"xsdFiles may contain globs, e.g. ""content\{schema,xsd}\**\*.xsd"", and URLs."); diff --git a/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj b/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj index 9a951309..8e14d196 100644 --- a/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj +++ b/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj @@ -5,7 +5,7 @@ XmlSchemaClassGenerator.Console 1.0.0-VERSION net45;netcoreapp2.0 - XmlSchemaClassGenerator.Console + dotnet-xscgen XmlSchemaClassGenerator.Console Exe