You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that xUnit looks for libraries nanmed "xunit" or "xunit.core" in the deps.json when trying to figure out whether an assembly is an xUnit test assembly. The xunit.core package doesn't include any runtime assets, only MSBuild .props and .targets files that are imported. This means that it may be removed from the deps.json file.
The xunit.core package depends on xunit.extensibility.core and xunit.extensibility.execution, both of which do have runtime assets. So if there are not references to those packages via another path, then the SDK will keep xunit.core in the deps.json. However, if there are other libraries that depend on xunit.extensibility.core and xunit.extensibility.execution, then the SDK will drop xunit.core from the deps.json and xUnit won't discover any tests.