File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Tasks/Microsoft.NET.Build.Tasks Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -371,9 +371,10 @@ public DependencyContext Build(string[] userRuntimeAssemblies = null)
371
371
var lib = unprocessedLibraries . First ( ) ;
372
372
unprocessedLibraries . Remove ( lib ) ;
373
373
374
- if ( lib . Library . Name . Equals ( "xunit.core" , StringComparison . OrdinalIgnoreCase ) )
374
+ if ( lib . Library . Name . Equals ( "xunit" , StringComparison . OrdinalIgnoreCase ) ||
375
+ lib . Library . Name . Equals ( "xunit.core" , StringComparison . OrdinalIgnoreCase ) )
375
376
{
376
- // Special case xunit.core, it should not be removed because the xUnit v2 runner looks for this library in the deps.json to
377
+ // Special case xunit and xunit .core, they should not be removed because the xUnit v2 runner looks for these libraries in the deps.json to
377
378
// identify test projects.
378
379
// See https://github.com/dotnet/sdk/issues/49248
379
380
continue ;
You can’t perform that action at this time.
0 commit comments