From 2050d8092fc5d11a19bbfb5c5fddc5b5a08ef773 Mon Sep 17 00:00:00 2001 From: Michael Ganss Date: Mon, 28 Aug 2017 16:50:42 +0200 Subject: [PATCH] Do dotnet publish --- .../XmlSchemaClassGenerator.Console.csproj | 3 --- .../XmlSchemaClassGenerator.csproj | 25 +++---------------- appveyor.yml | 2 ++ 3 files changed, 6 insertions(+), 24 deletions(-) diff --git a/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj b/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj index d6a26d67..51f4096b 100644 --- a/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj +++ b/XmlSchemaClassGenerator.Console/XmlSchemaClassGenerator.Console.csproj @@ -6,14 +6,11 @@ 1.0.0-VERSION Michael Ganss net45;netcoreapp2.0 - 2.0.0 XmlSchemaClassGenerator.Console XmlSchemaClassGenerator.Console xsd https://github.com/mganss/XmlSchemaClassGenerator https://github.com/mganss/XmlSchemaClassGenerator/blob/master/LICENSE - true - false git git://github.com/mganss/XmlSchemaClassGenerator false diff --git a/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj b/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj index f281ddb6..66af22fe 100644 --- a/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj +++ b/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj @@ -7,7 +7,6 @@ 1.0.0-VERSION Michael Ganss net45;netstandard2.0 - 2.0.0 XmlSchemaClassGenerator XmlSchemaClassGenerator-beta xsd @@ -40,28 +39,12 @@ - - tools/ + + tools/net45/ true - - tools/ - true - - - tools/ - true - - - tools/ - true - - - tools/ - true - - - tools/ + + tools/netcoreapp2.0/ true diff --git a/appveyor.yml b/appveyor.yml index 01483c0f..3f0c3a1f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,6 +6,8 @@ build_script: - ps: (Get-Content XmlSchemaClassGenerator.Console\XmlSchemaClassGenerator.Console.csproj).Replace("1.0.0-VERSION", $env:APPVEYOR_BUILD_VERSION) | Set-Content XmlSchemaClassGenerator.Console\XmlSchemaClassGenerator.Console.csproj - dotnet restore - dotnet build -c Release + - dotnet publish XmlSchemaClassGenerator.Console -c Release -f netcoreapp2.0 + - dotnet publish XmlSchemaClassGenerator.Console -c Release -f net45 - dotnet pack --include-symbols --include-source -c Release XmlSchemaClassGenerator test_script: - dotnet test XmlSchemaClassGenerator.Tests\XmlSchemaClassGenerator.Tests.csproj