Google.Protobuf.Test.csproj 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net451;netcoreapp2.1</TargetFrameworks>
  4. <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile>
  5. <SignAssembly>true</SignAssembly>
  6. <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
  7. <IsPackable>False</IsPackable>
  8. </PropertyGroup>
  9. <ItemGroup>
  10. <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" />
  11. </ItemGroup>
  12. <ItemGroup>
  13. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
  14. <PackageReference Include="NUnit" Version="3.9.0" />
  15. <PackageReference Include="NUnit3TestAdapter" Version="3.9.0" />
  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>netcoreapp2.1</TargetFrameworks>
  24. </PropertyGroup>
  25. <ItemGroup>
  26. <EmbeddedResource Include="testprotos.pb" />
  27. </ItemGroup>
  28. </Project>