File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/xunit.runner.visualstudio/Utility Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,8 @@ public bool IsMatchingTargetFramework()
113113
114114#if NETCOREAPP
115115 return string . IsNullOrWhiteSpace ( TargetFrameworkVersion ) || // Short circuit on null since we don't have anything to detect, return true
116- ( TargetFrameworkVersion . StartsWith ( ".NETCoreApp," , StringComparison . OrdinalIgnoreCase ) ||
116+ ( TargetFrameworkVersion . StartsWith ( "net5" , StringComparison . OrdinalIgnoreCase ) ||
117+ TargetFrameworkVersion . StartsWith ( ".NETCoreApp," , StringComparison . OrdinalIgnoreCase ) ||
117118 TargetFrameworkVersion . StartsWith ( "FrameworkCore10" , StringComparison . OrdinalIgnoreCase ) ) ;
118119#elif WINDOWS_UAP
119120 return string . IsNullOrWhiteSpace ( TargetFrameworkVersion ) || // Short circuit on null since we don't have anything to detect, return true
You can’t perform that action at this time.
0 commit comments