Skip to content

Commit

Permalink
Do dotnet publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ganss committed Aug 28, 2017
1 parent 7581dd8 commit 2050d80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@
<VersionPrefix>1.0.0-VERSION</VersionPrefix>
<Authors>Michael Ganss</Authors>
<TargetFrameworks>net45;netcoreapp2.0</TargetFrameworks>
<NetStandardImplicitPackageVersion>2.0.0</NetStandardImplicitPackageVersion>
<AssemblyName>XmlSchemaClassGenerator.Console</AssemblyName>
<PackageId>XmlSchemaClassGenerator.Console</PackageId>
<PackageTags>xsd</PackageTags>
<PackageProjectUrl>https://github.com/mganss/XmlSchemaClassGenerator</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/mganss/XmlSchemaClassGenerator/blob/master/LICENSE</PackageLicenseUrl>
<IsTool>true</IsTool>
<IncludeBuildOutput>false</IncludeBuildOutput>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>git://github.com/mganss/XmlSchemaClassGenerator</RepositoryUrl>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
Expand Down
25 changes: 4 additions & 21 deletions XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<VersionPrefix>1.0.0-VERSION</VersionPrefix>
<Authors>Michael Ganss</Authors>
<TargetFrameworks>net45;netstandard2.0</TargetFrameworks>
<NetStandardImplicitPackageVersion>2.0.0</NetStandardImplicitPackageVersion>
<AssemblyName>XmlSchemaClassGenerator</AssemblyName>
<PackageId>XmlSchemaClassGenerator-beta</PackageId>
<PackageTags>xsd</PackageTags>
Expand Down Expand Up @@ -40,28 +39,12 @@
</ItemGroup>

<ItemGroup>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\**\*.dll">
<PackagePath>tools/</PackagePath>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\net45\publish\*.*">
<PackagePath>tools/net45/</PackagePath>
<Pack>true</Pack>
</None>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\**\*.exe">
<PackagePath>tools/</PackagePath>
<Pack>true</Pack>
</None>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\**\*.config">
<PackagePath>tools/</PackagePath>
<Pack>true</Pack>
</None>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\**\*.pdb">
<PackagePath>tools/</PackagePath>
<Pack>true</Pack>
</None>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\**\*.deps.json">
<PackagePath>tools/</PackagePath>
<Pack>true</Pack>
</None>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\**\*.runtimeconfig.json">
<PackagePath>tools/</PackagePath>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\netcoreapp2.0\publish\*.*">
<PackagePath>tools/netcoreapp2.0/</PackagePath>
<Pack>true</Pack>
</None>
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2050d80

Please sign in to comment.