1<Project Sdk="Microsoft.NET.Sdk"> 2 3 <PropertyGroup> 4 <OutputType>Exe</OutputType> 5 <TargetFrameworks>net451;netcoreapp2.1</TargetFrameworks> 6 <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile> 7 <SignAssembly>true</SignAssembly> 8 <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> 9 <IsPackable>False</IsPackable> 10 </PropertyGroup> 11 12 <ItemGroup> 13 <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" /> 14 </ItemGroup> 15 16 <ItemGroup> 17 <PackageReference Include="NUnit" Version="3.6.1" /> 18 <PackageReference Include="NUnitLite" Version="3.6.1" /> 19 </ItemGroup> 20 21 <!-- Needed for the net45 build to work on Unix. See https://github.com/dotnet/designs/pull/33 --> 22 <ItemGroup> 23 <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2" PrivateAssets="All" /> 24 </ItemGroup> 25 26</Project> 27