031ae4619e
This is in prep for #286 and allows users on macOS and Linux to build and test only the netstandard and netcoreapp targets. All published projects support at least netstandard1.1 which is consumable from net45, so if we decide to just have everyone consume a netstandard package this can be greatly simplified.
28 lines
833 B
XML
28 lines
833 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net45;netcoreapp2.0;</TargetFrameworks>
|
|
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">netcoreapp2.0</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
|
|
<PackageReference Include="NUnit" Version="3.9.0" />
|
|
<PackageReference Include="NUnit3TestAdapter" Version="3.9.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Flurl.Http\Flurl.Http.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
|
|
<Reference Include="System.Net.Http" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|