forked from dotnet/try
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.targets
25 lines (19 loc) · 1.07 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(DisableArcade)' != '1'" />
<!--
Arcade normally auto-adds the appropriate test packages, but in non-arcade scenarios they must be re-added.
Not doing this in each project because duplicate PackageReferences causes an Arcade build failure.
-->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Tests')) AND '$(DisableArcade)' == '1'">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
</ItemGroup>
<!-- Consolidate FSharp package versions -->
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="5.0.0-beta.20055.5" />
<PackageReference Update="FSharp.Compiler.Private.Scripting" Version="11.0.0-beta.20055.5" />
<PackageReference Update="FSharp.Compiler.Service" Version="31.0.0" />
</ItemGroup>
<Import Project="eng\targets\Versions.targets" Condition="'$(UseStableVersion)' == 'true'" />
</Project>