Google.Protobuf.Test.csproj 972 Bytes
Newer Older
1 2 3 4
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
5
    <TargetFrameworks>net451;netcoreapp2.1</TargetFrameworks>
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
    <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile>
    <SignAssembly>true</SignAssembly>
    <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
    <IsPackable>False</IsPackable>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="NUnit" Version="3.6.1" />
    <PackageReference Include="NUnitLite" Version="3.6.1" />
  </ItemGroup>

21
  <!--
22 23 24 25 26
    - Override target frameworks on non-Windows to just .NET Core
    - Doing this conditionally in the initial PropertyGroup confuses
    - Visual Studio.
    -->
  <PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
27
    <TargetFrameworks>netcoreapp2.1</TargetFrameworks>
28
  </PropertyGroup>
29

30
</Project>