From a928573957e5d54ef6b33155f3ab549a41956265 Mon Sep 17 00:00:00 2001 From: Michael Ganss Date: Wed, 26 Jun 2019 12:49:26 +0200 Subject: [PATCH] Refactor csprojs --- .../XmlSchemaClassGenerator.Console.csproj | 7 +++++-- XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj | 7 +++++-- appveyor.yml | 4 ---- xscgen-proj/xscgen-proj.csproj | 7 +++++-- xscgen/xscgen.csproj | 7 +++++-- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj b/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj index a7bf0a4a..454c014b 100644 --- a/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj +++ b/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj @@ -1,9 +1,12 @@  A .NET CLI tool to generate XmlSerializer compatible C# classes from XML Schema files. - Copyright 2013-2018 Michael Ganss + Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss XmlSchemaClassGenerator.Console - 1.0.0-VERSION + 1.0.0 + 2.0.0.0 + $(AppVeyor_Build_Version).0 + $(AppVeyor_Build_Version) net45 XmlSchemaClassGenerator.Console XmlSchemaClassGenerator.Console diff --git a/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj b/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj index 5a4f2c18..0c89b959 100644 --- a/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj +++ b/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj @@ -2,9 +2,12 @@ Generate XmlSerializer compatible C# classes from XML Schema files. - Copyright 2013-2018 Michael Ganss + Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss XmlSchemaClassGenerator - 1.0.0-VERSION + 1.0.0 + 2.0.0.0 + $(AppVeyor_Build_Version).0 + $(AppVeyor_Build_Version) Michael Ganss netstandard2.0;net45 XmlSchemaClassGenerator diff --git a/appveyor.yml b/appveyor.yml index aefbe434..227b76f7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,10 +9,6 @@ environment: nuget: disable_publish_on_pr: true build_script: - - ps: (Get-Content XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj).Replace("1.0.0-VERSION", $env:APPVEYOR_BUILD_VERSION) | Set-Content XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj - - ps: (Get-Content XmlSchemaClassGenerator.Console\XmlSchemaClassGenerator.Console.csproj).Replace("1.0.0-VERSION", $env:APPVEYOR_BUILD_VERSION) | Set-Content XmlSchemaClassGenerator.Console\XmlSchemaClassGenerator.Console.csproj - - ps: (Get-Content xscgen\xscgen.csproj).Replace("1.0.0-VERSION", $env:APPVEYOR_BUILD_VERSION) | Set-Content xscgen\xscgen.csproj - - ps: (Get-Content xscgen-proj\xscgen-proj.csproj).Replace("1.0.0-VERSION", $env:APPVEYOR_BUILD_VERSION) | Set-Content xscgen-proj\xscgen-proj.csproj - dotnet --info - dotnet restore - dotnet build -c Release diff --git a/xscgen-proj/xscgen-proj.csproj b/xscgen-proj/xscgen-proj.csproj index e25da27d..f2e29545 100644 --- a/xscgen-proj/xscgen-proj.csproj +++ b/xscgen-proj/xscgen-proj.csproj @@ -3,9 +3,12 @@ Exe netcoreapp2.1 A .NET Core CLI tool to generate XmlSerializer compatible C# classes from XML Schema files. - Copyright 2013-2018 Michael Ganss + Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss xscgen - 1.0.0-VERSION + 1.0.0 + 2.0.0.0 + $(AppVeyor_Build_Version).0 + $(AppVeyor_Build_Version) dotnet-xscgen XmlSchemaClassGenerator.Console Michael Ganss diff --git a/xscgen/xscgen.csproj b/xscgen/xscgen.csproj index 20c35460..aab71887 100644 --- a/xscgen/xscgen.csproj +++ b/xscgen/xscgen.csproj @@ -3,9 +3,12 @@ Exe netcoreapp2.1 A .NET Core CLI tool to generate XmlSerializer compatible C# classes from XML Schema files. - Copyright 2013-2018 Michael Ganss + Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss xscgen - 1.0.0-VERSION + 1.0.0 + 2.0.0.0 + $(AppVeyor_Build_Version).0 + $(AppVeyor_Build_Version) xscgen XmlSchemaClassGenerator.Console Michael Ganss