Topten.JsonKit.csproj 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <Import Project="../version.props" />
  3. <PropertyGroup>
  4. <TargetFrameworks>net46;netcoreapp2.0</TargetFrameworks>
  5. <Configurations>Debug;Release</Configurations>
  6. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  7. <OutputPath>..\Build\$(Configuration)\$(MSBuildProjectName)</OutputPath>
  8. <IntermediateOutputPath>..\Build\$(Configuration)\$(MSBuildProjectName)\obj</IntermediateOutputPath>
  9. <GenerateFullPaths>True</GenerateFullPaths>
  10. </PropertyGroup>
  11. <PropertyGroup Condition="'$(Configuration)'=='Release'">
  12. <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  13. <Company>Topten Software</Company>
  14. <Authors>Topten Software</Authors>
  15. <Copyright>Copyright © 2014-2020 Topten Software. All Rights Reserved</Copyright>
  16. <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
  17. <PackageIcon>nuget-icon.png</PackageIcon>
  18. <PackageProjectUrl>https://github.com/toptensoftware/jsonkit</PackageProjectUrl>
  19. <PackageTags>JSON, Serialization</PackageTags>
  20. <Description>Lightweight JSON Serialization Library</Description>
  21. <RepositoryUrl>https://github.com/toptensoftware/jsonkit</RepositoryUrl>
  22. </PropertyGroup>
  23. <ItemGroup>
  24. <Compile Include="..\version.cs" Link="version.cs" />
  25. </ItemGroup>
  26. <Target Name="Code Sign" AfterTargets="Build" Condition="'$(Configuration)'=='Release' And '$(TargetFileName)'!=''">
  27. <Exec Command="ttssign $(TargetDir)$(TargetFileName)" />
  28. </Target>
  29. <ItemGroup>
  30. <None Include="../Artwork/nuget-icon.png" Pack="true" PackagePath=""/>
  31. </ItemGroup>
  32. </Project>