blob: 06d07b9f4a54d06f87697de1a7fa8ede124e6518 [file] [log] [blame]
Jon Skeetf26e8c22017-05-04 08:51:46 +01001<Project Sdk="Microsoft.NET.Sdk">
2
3 <PropertyGroup>
4 <OutputType>Exe</OutputType>
5 <TargetFrameworks>net451;netcoreapp1.0</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 <!--
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>