Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | |
| 3 | <PropertyGroup> |
| 4 | <TargetFrameworks>net451;netcoreapp1.0</TargetFrameworks> |
| 5 | <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile> |
| 6 | <SignAssembly>true</SignAssembly> |
| 7 | <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> |
| 8 | <IsPackable>False</IsPackable> |
| 9 | </PropertyGroup> |
| 10 | |
| 11 | <ItemGroup> |
| 12 | <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" /> |
| 13 | </ItemGroup> |
| 14 | |
| 15 | <ItemGroup> |
| 16 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" /> |
| 17 | <PackageReference Include="NUnit" Version="3.9.0" /> |
| 18 | <PackageReference Include="NUnit3TestAdapter" Version="3.9.0" /> |
| 19 | </ItemGroup> |
| 20 | |
| 21 | <!-- |
| 22 | - Override target frameworks on non-Windows to just .NET Core |
| 23 | - Doing this conditionally in the initial PropertyGroup confuses |
| 24 | - Visual Studio. |
| 25 | --> |
| 26 | <PropertyGroup Condition="'$(OS)' != 'Windows_NT'"> |
| 27 | <TargetFrameworks>netcoreapp1.0</TargetFrameworks> |
| 28 | </PropertyGroup> |
| 29 | |
| 30 | </Project> |