Skip to content

Commit

Permalink
Build console application as .NET Core CLI tool dotnet-xscgen
Browse files Browse the repository at this point in the history
Fixes #56
  • Loading branch information
Michael Ganss committed Apr 11, 2018
1 parent 1b8d119 commit 47161f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion XmlSchemaClassGenerator.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ static KeyValuePair<NamespaceKey, string> 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.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<AssemblyTitle>XmlSchemaClassGenerator.Console</AssemblyTitle>
<VersionPrefix>1.0.0-VERSION</VersionPrefix>
<TargetFrameworks>net45;netcoreapp2.0</TargetFrameworks>
<AssemblyName>XmlSchemaClassGenerator.Console</AssemblyName>
<AssemblyName>dotnet-xscgen</AssemblyName>
<RootNamespace>XmlSchemaClassGenerator.Console</RootNamespace>
<OutputType>Exe</OutputType>
</PropertyGroup>
Expand Down

0 comments on commit 47161f5

Please sign in to comment.