Unable to find testhost.dll. Please publish your test project and retry

I have a simple dotnet core class library with a single XUnit test method: TestLib.csproj: <Project Sdk=”Microsoft.NET.Sdk”> <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> </PropertyGroup> <ItemGroup> <PackageReference Include=”Microsoft.NET.Test.SDK” Version=”15.9.0″ /> <PackageReference Include=”xunit” Version=”2.4.1″ /> <PackageReference Include=”xunit.runner.console” Version=”2.4.1″> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> <PrivateAssets>all</PrivateAssets> </PackageReference> <PackageReference Include=”xunit.runner.visualstudio” Version=”2.4.1″> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> <PrivateAssets>all</PrivateAssets> </PackageReference> <PackageReference Include=”xunit.runners” Version=”2.0.0″ /> </ItemGroup> </Project> … Read more

NUnit vs. MbUnit vs. MSTest vs. xUnit.net [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more