• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<Project Sdk="Microsoft.NET.Sdk">
2
3  <!--
4    This TestProtos project is kept separate from the original test project for many reasons.
5    It allows us to make sure code can compile on a separate compiler version, different frameworks,
6    and without the internal visibility from the test project (all of which have caused issues in the past).
7  -->
8  <PropertyGroup>
9    <TargetFrameworks>net45;netstandard1.1;netstandard2.0</TargetFrameworks>
10    <LangVersion>3.0</LangVersion>
11    <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile>
12    <SignAssembly>true</SignAssembly>
13    <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
14    <IsPackable>False</IsPackable>
15  </PropertyGroup>
16
17  <!-- Needed for the net45 build to work on Unix. See https://github.com/dotnet/designs/pull/33 -->
18  <ItemGroup>
19    <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2" PrivateAssets="All" />
20  </ItemGroup>
21
22  <ItemGroup>
23    <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" />
24  </ItemGroup>
25
26</Project>
27