From 403fede239edb1d6fd9fafadd642957105f13a02 Mon Sep 17 00:00:00 2001 From: Michael Ganss Date: Tue, 29 Aug 2017 13:02:07 +0200 Subject: [PATCH] Generate assembly version from csproj --- .../Properties/AssemblyInfo.cs | 6 +----- .../XmlSchemaClassGenerator.Console.csproj | 8 -------- XmlSchemaClassGenerator/Properties/AssemblyInfo.cs | 2 -- XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj | 5 ++++- 4 files changed, 5 insertions(+), 16 deletions(-) diff --git a/XmlSchemaClassGenerator.Console/Properties/AssemblyInfo.cs b/XmlSchemaClassGenerator.Console/Properties/AssemblyInfo.cs index cf233c90..d5a00f48 100644 --- a/XmlSchemaClassGenerator.Console/Properties/AssemblyInfo.cs +++ b/XmlSchemaClassGenerator.Console/Properties/AssemblyInfo.cs @@ -1,6 +1,4 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; #if !NETSTANDARD @@ -13,5 +11,3 @@ [assembly: Guid("bd5c99cb-a57e-43d9-a14f-7f2a7ef9eb48")] #endif - -[assembly: AssemblyVersion("2.0.0.0")] diff --git a/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj b/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj index 51f4096b..9a951309 100644 --- a/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj +++ b/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj @@ -4,16 +4,8 @@ Copyright 2013-2017 Michael Ganss XmlSchemaClassGenerator.Console 1.0.0-VERSION - Michael Ganss net45;netcoreapp2.0 XmlSchemaClassGenerator.Console - XmlSchemaClassGenerator.Console - xsd - https://github.com/mganss/XmlSchemaClassGenerator - https://github.com/mganss/XmlSchemaClassGenerator/blob/master/LICENSE - git - git://github.com/mganss/XmlSchemaClassGenerator - false XmlSchemaClassGenerator.Console Exe diff --git a/XmlSchemaClassGenerator/Properties/AssemblyInfo.cs b/XmlSchemaClassGenerator/Properties/AssemblyInfo.cs index 5891cb32..b59cfa9c 100644 --- a/XmlSchemaClassGenerator/Properties/AssemblyInfo.cs +++ b/XmlSchemaClassGenerator/Properties/AssemblyInfo.cs @@ -12,5 +12,3 @@ [assembly: Guid("de5a48df-c5c0-4efc-9516-264d4e76d2a9")] #endif - -[assembly: AssemblyVersion("2.0.0.0")] diff --git a/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj b/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj index 66af22fe..5a75b9a4 100644 --- a/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj +++ b/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj @@ -14,7 +14,6 @@ https://github.com/mganss/XmlSchemaClassGenerator/blob/master/LICENSE git git://github.com/mganss/XmlSchemaClassGenerator - false XmlSchemaClassGenerator @@ -49,4 +48,8 @@ + + + +