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