|
3 | 3 | <PropertyGroup>
|
4 | 4 | <OutputType>Library</OutputType>
|
5 | 5 | <TargetFrameworks>net461;netcoreapp2.0</TargetFrameworks>
|
6 |
| - <DefineConstants>$(DefineConstants);PLATFORM_DOTNET</DefineConstants> |
7 | 6 | <DefineConstants Condition="'$(BuildTarget)' != 'fsharp'">$(DefineConstants);SKIP_FSHARP</DefineConstants>
|
8 | 7 | <AssemblyOriginatorKeyFile>..\..\CommandLine.snk</AssemblyOriginatorKeyFile>
|
9 | 8 | <SignAssembly>true</SignAssembly>
|
|
12 | 11 | <Version Condition="'$(VersionSuffix)' != ''">$(VersionSuffix)</Version>
|
13 | 12 | <Version Condition="'$(VersionSuffix)' == ''">2.5.0</Version>
|
14 | 13 | <Copyright>Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors</Copyright>
|
| 14 | + <IsTestProject>true</IsTestProject> |
15 | 15 | </PropertyGroup>
|
16 | 16 | <ItemGroup Condition="'$(BuildTarget)' != 'fsharp'">
|
17 | 17 | <Compile Remove="Fakes\Options_With_FSharpOption.cs" />
|
18 | 18 | <Compile Remove="Unit\Infrastructure\FSharpOptionHelperTests.cs" />
|
19 | 19 | </ItemGroup>
|
20 |
| - |
| 20 | + <PropertyGroup Condition="$(TargetFramework.StartsWith('netcoreapp'))"> |
| 21 | + <DefineConstants>$(DefineConstants);PLATFORM_DOTNET</DefineConstants> |
| 22 | + </PropertyGroup> |
21 | 23 | <ItemGroup>
|
22 | 24 | <ProjectReference Include="..\..\src\CommandLine\CommandLine.csproj" />
|
23 | 25 | </ItemGroup>
|
|
26 | 28 | <PackageReference Include="FluentAssertions" Version="5.4.1" />
|
27 | 29 | <PackageReference Include="FsCheck" Version="2.11.0" />
|
28 | 30 | <PackageReference Include="FSharp.Core" Version="4.5.1" Condition="'$(BuildTarget)' == 'fsharp'" />
|
29 |
| - <PackageReference Include="xunit" Version="2.4.0" /> |
30 |
| - <PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" /> |
| 31 | + <PackageReference Include="xunit" Version="2.4.1" /> |
| 32 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" /> |
31 | 33 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
|
32 | 34 |
|
33 | 35 | </ItemGroup>
|
|
0 commit comments