-
Notifications
You must be signed in to change notification settings - Fork 389
/
Directory.Build.targets
39 lines (30 loc) · 1.7 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<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')) OR $(MSBuildProjectName.EndsWith('.IntegrationTests'))) AND '$(DisableArcade)' == '1'">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkVersion)" />
<PackageReference Update="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
</ItemGroup>
<!--
Microsoft.NET.Test.Sdk pulls in an older version of Newtonsoft.Json that _must_ be updated to 13.0.1 to address
component goverance alerts.
-->
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkVersion)" />
</ItemGroup>
<!-- Consolidate FSharp package versions -->
<ItemGroup>
<!--
NOTE, when a change updating these version numbers is merged into `main` and the version number ends in
`-beta.12345.6` or similar, these packages _must_ be uploaded to NuGet. For Microsoft employees, that can
be accomplished via these two release definitions (in this order):
FSharp.Core: https://dev.azure.com/dnceng/internal/_release?view=mine&_a=releases&definitionId=92
FSharp.Compiler.Service: https://dev.azure.com/dnceng/internal/_release?view=mine&_a=releases&definitionId=98
-->
<PackageReference Update="FSharp.Core" Version="8.0.200" />
<PackageReference Update="FSharp.Compiler.Service" Version="43.8.200" />
</ItemGroup>
</Project>