Skip to content

Commit a150210

Browse files
CopilotT-Gro
andcommitted
Fix EndToEndBuildTests: add xUnit3 version properties to Directory.Build.props
Co-authored-by: T-Gro <[email protected]>
1 parent e284fe2 commit a150210

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

tests/EndToEndBuildTests/BasicProvider/BasicProvider.Tests/BasicProvider.Tests.fsproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
<PackagePath>content\myfiles\</PackagePath>
2222
</Content>
2323
<PackageReference Include="BasicProvider" Version="1.0.0" />
24-
<PackageReference Include="xunit.v3" Version="3.1.0" />
25-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
26-
<PackageReference Include="Microsoft.TestPlatform" Version="17.14.1" />
2724
</ItemGroup>
2825

2926
<Target Name="RemovePackagesFromCache" BeforeTargets="Restore">

tests/EndToEndBuildTests/ComboProvider/ComboProvider.Tests/ComboProvider.Tests.fsproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
</None>
1919

2020
<PackageReference Include="ComboProvider" Version="1.0.0" />
21-
<PackageReference Include="xunit.v3" Version="3.1.0" />
22-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
23-
<PackageReference Include="Microsoft.TestPlatform" Version="17.14.1" />
2421
</ItemGroup>
2522

2623
<Target Name="RemovePackagesFromCache" BeforeTargets="Restore">

tests/EndToEndBuildTests/Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
<PropertyGroup>
44
<FSharpTestCompilerVersion Condition = " '$(FSharpTestCompilerVersion)' == '' ">net40</FSharpTestCompilerVersion>
55
<RollForward>LatestMajor</RollForward>
6+
<!-- xUnit3 package versions for EndToEndBuildTests - these must be defined before importing parent props -->
7+
<XunitVersion Condition="'$(XunitVersion)' == ''">3.1.0</XunitVersion>
8+
<XunitRunnerConsoleVersion Condition="'$(XunitRunnerConsoleVersion)' == ''">3.0.0-pre.25</XunitRunnerConsoleVersion>
9+
<XunitRunnerVisualStudioVersion Condition="'$(XunitRunnerVisualStudioVersion)' == ''">3.1.4</XunitRunnerVisualStudioVersion>
10+
<MicrosoftTestPlatformVersion Condition="'$(MicrosoftTestPlatformVersion)' == ''">17.14.1</MicrosoftTestPlatformVersion>
611
</PropertyGroup>
712

813
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

0 commit comments

Comments
 (0)