• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<Project Sdk="Microsoft.NET.Sdk">
2
3  <PropertyGroup>
4    <TargetFrameworks>net451;netcoreapp2.1</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
11  <ItemGroup>
12    <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" />
13  </ItemGroup>
14
15  <ItemGroup>
16    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
17    <PackageReference Include="NUnit" Version="3.9.0" />
18    <PackageReference Include="NUnit3TestAdapter" Version="3.9.0" />
19  </ItemGroup>
20
21  <!--
22    - Override target frameworks on non-Windows to just .NET Core
23    - Doing this conditionally in the initial PropertyGroup confuses
24    - Visual Studio.
25    -->
26  <PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
27    <TargetFrameworks>netcoreapp2.1</TargetFrameworks>
28  </PropertyGroup>
29
30  <ItemGroup>
31    <EmbeddedResource Include="testprotos.pb" />
32  </ItemGroup>
33
34</Project>
35