• 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    <IsPackable>False</IsPackable>
14  </PropertyGroup>
15
16  <!-- Needed for the net45 build to work on Unix. See https://github.com/dotnet/designs/pull/33 -->
17  <ItemGroup>
18    <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
19  </ItemGroup>
20
21  <ItemGroup>
22    <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" />
23  </ItemGroup>
24
25</Project>
26