Skip to content

Commit

Permalink
Refactor csprojs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ganss committed Jun 26, 2019
1 parent 3a0a1bb commit a928573
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>A .NET CLI tool to generate XmlSerializer compatible C# classes from XML Schema files.</Description>
<Copyright>Copyright 2013-2018 Michael Ganss</Copyright>
<Copyright>Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss</Copyright>
<AssemblyTitle>XmlSchemaClassGenerator.Console</AssemblyTitle>
<VersionPrefix>1.0.0-VERSION</VersionPrefix>
<AppVeyor_Build_Version Condition="'$(APPVEYOR_BUILD_VERSION)' == ''">1.0.0</AppVeyor_Build_Version>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<FileVersion>$(AppVeyor_Build_Version).0</FileVersion>
<PackageVersion>$(AppVeyor_Build_Version)</PackageVersion>
<TargetFramework>net45</TargetFramework>
<AssemblyName>XmlSchemaClassGenerator.Console</AssemblyName>
<RootNamespace>XmlSchemaClassGenerator.Console</RootNamespace>
Expand Down
7 changes: 5 additions & 2 deletions XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

<PropertyGroup>
<Description>Generate XmlSerializer compatible C# classes from XML Schema files.</Description>
<Copyright>Copyright 2013-2018 Michael Ganss</Copyright>
<Copyright>Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss</Copyright>
<AssemblyTitle>XmlSchemaClassGenerator</AssemblyTitle>
<VersionPrefix>1.0.0-VERSION</VersionPrefix>
<AppVeyor_Build_Version Condition="'$(APPVEYOR_BUILD_VERSION)' == ''">1.0.0</AppVeyor_Build_Version>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<FileVersion>$(AppVeyor_Build_Version).0</FileVersion>
<PackageVersion>$(AppVeyor_Build_Version)</PackageVersion>
<Authors>Michael Ganss</Authors>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<AssemblyName>XmlSchemaClassGenerator</AssemblyName>
Expand Down
4 changes: 0 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions xscgen-proj/xscgen-proj.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Description>A .NET Core CLI tool to generate XmlSerializer compatible C# classes from XML Schema files.</Description>
<Copyright>Copyright 2013-2018 Michael Ganss</Copyright>
<Copyright>Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss</Copyright>
<AssemblyTitle>xscgen</AssemblyTitle>
<VersionPrefix>1.0.0-VERSION</VersionPrefix>
<AppVeyor_Build_Version Condition="'$(APPVEYOR_BUILD_VERSION)' == ''">1.0.0</AppVeyor_Build_Version>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<FileVersion>$(AppVeyor_Build_Version).0</FileVersion>
<PackageVersion>$(AppVeyor_Build_Version)</PackageVersion>
<AssemblyName>dotnet-xscgen</AssemblyName>
<RootNamespace>XmlSchemaClassGenerator.Console</RootNamespace>
<Authors>Michael Ganss</Authors>
Expand Down
7 changes: 5 additions & 2 deletions xscgen/xscgen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Description>A .NET Core CLI tool to generate XmlSerializer compatible C# classes from XML Schema files.</Description>
<Copyright>Copyright 2013-2018 Michael Ganss</Copyright>
<Copyright>Copyright 2013-$([System.DateTime]::Now.Year) Michael Ganss</Copyright>
<AssemblyTitle>xscgen</AssemblyTitle>
<VersionPrefix>1.0.0-VERSION</VersionPrefix>
<AppVeyor_Build_Version Condition="'$(APPVEYOR_BUILD_VERSION)' == ''">1.0.0</AppVeyor_Build_Version>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<FileVersion>$(AppVeyor_Build_Version).0</FileVersion>
<PackageVersion>$(AppVeyor_Build_Version)</PackageVersion>
<AssemblyName>xscgen</AssemblyName>
<RootNamespace>XmlSchemaClassGenerator.Console</RootNamespace>
<Authors>Michael Ganss</Authors>
Expand Down

0 comments on commit a928573

Please sign in to comment.