1<Project Sdk="Microsoft.NET.Sdk"> 2 3 <PropertyGroup> 4 <TargetFrameworks>net451;netcoreapp3.1;net60</TargetFrameworks> 5 <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile> 6 <SignAssembly>true</SignAssembly> 7 <IsPackable>False</IsPackable> 8 <AllowUnsafeBlocks>True</AllowUnsafeBlocks> 9 </PropertyGroup> 10 11 <ItemGroup> 12 <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" /> 13 <ProjectReference Include="..\Google.Protobuf.Test.TestProtos\Google.Protobuf.Test.TestProtos.csproj"/> 14 </ItemGroup> 15 16 <ItemGroup> 17 <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" /> 18 <PackageReference Include="NUnit" Version="3.9.0" /> 19 <PackageReference Include="NUnit3TestAdapter" Version="3.9.0" /> 20 </ItemGroup> 21 22 <!-- Needed for the net45 build to work on Unix. See https://github.com/dotnet/designs/pull/33 --> 23 <ItemGroup> 24 <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" /> 25 </ItemGroup> 26 27 <ItemGroup> 28 <EmbeddedResource Include="testprotos.pb" /> 29 </ItemGroup> 30 31</Project> 32