Skip to content

Commit 3bf27d9

Browse files
Revert attempt to move to .NET 5 TFM and use .NET Core 3.1 + PackageReference for UI Tests
Opened Issue microsoft/testfx#750
1 parent 6bc6446 commit 3bf27d9

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

UITests/UITests.Tests.MSTest/UITests.Tests.MSTest.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<PropertyGroup>
55

6-
<TargetFramework>net5.0-windows10.0.19041.0</TargetFramework>
6+
<TargetFramework>netcoreapp3.1</TargetFramework>
77
<TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
88
<TargetFrameworkVersion>v3.1</TargetFrameworkVersion>
99
<RuntimeIdentifier>win10-x86</RuntimeIdentifier>
@@ -18,6 +18,10 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21+
<PackageReference Condition="'$(TargetFramework)' == 'netcoreapp3.1'"
22+
Include="Microsoft.Windows.SDK.Contracts"
23+
Version="10.0.19041.0" />
24+
2125
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
2226
<PackageReference Include="MUXTestInfra.MSTest" Version="0.0.4" />
2327
<PackageReference Include="MSTest.TestAdapter" Version="2.1.2" />

UITests/UITests.Tests.TAEF/UITests.Tests.TAEF.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44

5-
<TargetFramework>net5.0-windows10.0.19041.0</TargetFramework>
5+
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
77
<TargetFrameworkVersion>v3.1</TargetFrameworkVersion>
88
<LangVersion>8.0</LangVersion>
@@ -39,6 +39,10 @@
3939
</ItemGroup>
4040

4141
<ItemGroup>
42+
<PackageReference Condition="'$(TargetFramework)' == 'netcoreapp3.1'"
43+
Include="Microsoft.Windows.SDK.Contracts"
44+
Version="10.0.19041.0" />
45+
4246
<PackageReference Include="MUXTestInfra.TAEF" Version="0.0.4" />
4347
<PackageReference Include="TAEF.Redist.Wlk" Version="10.31.180822002" GeneratePathProperty="true" />
4448
<PackageReference Include="MUXCustomBuildTasks" Version="1.0.67" GeneratePathProperty="true" />

0 commit comments

Comments
 (0)