Skip to content

Commit

Permalink
Use only NuGet package again
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ganss committed Aug 28, 2017
1 parent 75406b3 commit f4c5652
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<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
29 changes: 28 additions & 1 deletion XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Description>A library to generate XmlSerializer compatible C# classes from XML Schema files.</Description>
<Description>Generate XmlSerializer compatible C# classes from XML Schema files.</Description>
<Copyright>Copyright 2013-2017 Michael Ganss</Copyright>
<AssemblyTitle>XmlSchemaClassGenerator</AssemblyTitle>
<VersionPrefix>1.0.0-VERSION</VersionPrefix>
Expand Down Expand Up @@ -39,4 +39,31 @@
<PackageReference Include="System.ComponentModel.Annotations" Version="4.4.0" />
</ItemGroup>

<ItemGroup>
<None Include="..\XmlSchemaClassGenerator.Console\bin\$(Configuration)\**\*.dll">
<PackagePath>tools/</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>
<Pack>true</Pack>
</None>
</ItemGroup>

</Project>
4 changes: 0 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ 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 pack --include-symbols --include-source -c Release XmlSchemaClassGenerator
- dotnet pack --include-symbols --include-source -c Release XmlSchemaClassGenerator.Console
test_script:
- dotnet test XmlSchemaClassGenerator.Tests\XmlSchemaClassGenerator.Tests.csproj
- nuget.exe install OpenCover -ExcludeVersion
Expand All @@ -16,6 +15,3 @@ test_script:
- codecov -f "coverage.xml"
artifacts:
- path: 'XmlSchemaClassGenerator\**\*.nupkg'
name: XmlSchemaClassGenerator
- path: 'XmlSchemaClassGenerator.Console\**\*.nupkg'
name: XmlSchemaClassGenerator.Console

0 comments on commit f4c5652

Please sign in to comment.