Skip to content

Commit 0e1c05c

Browse files
committed
Fix net46 TFM in VSTestXunitDesktopAndNetCore.csproj
VSTest added validation for the supported TFM in microsoft/vstest#15073 and the package only supports net462
1 parent ba53d18 commit 0e1c05c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/TestAssets/TestProjects/XunitMulti/VSTestXunitDesktopAndNetCore.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), testAsset.props))\testAsset.props" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>net46;$(CurrentTargetFramework)</TargetFrameworks>
5+
<TargetFrameworks>net462;$(CurrentTargetFramework)</TargetFrameworks>
66
</PropertyGroup>
77

8-
<PropertyGroup Condition="'$(TargetFramework)' == 'net46'">
8+
<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">
99
<DefineConstants>DESKTOP;$(DefineConstants)</DefineConstants>
1010
</PropertyGroup>
1111

0 commit comments

Comments
 (0)