Google.Protobuf.Test.csproj 972 B

123456789101112131415161718192021222324252627282930
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>Exe</OutputType>
  4. <TargetFrameworks>net451;netcoreapp1.0</TargetFrameworks>
  5. <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile>
  6. <SignAssembly>true</SignAssembly>
  7. <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
  8. <IsPackable>False</IsPackable>
  9. </PropertyGroup>
  10. <ItemGroup>
  11. <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" />
  12. </ItemGroup>
  13. <ItemGroup>
  14. <PackageReference Include="NUnit" Version="3.6.1" />
  15. <PackageReference Include="NUnitLite" Version="3.6.1" />
  16. </ItemGroup>
  17. <!--
  18. - Override target frameworks on non-Windows to just .NET Core
  19. - Doing this conditionally in the initial PropertyGroup confuses
  20. - Visual Studio.
  21. -->
  22. <PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
  23. <TargetFrameworks>netcoreapp1.0</TargetFrameworks>
  24. </PropertyGroup>
  25. </Project>