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

前端 未结 19 1013
星月不相逢
星月不相逢 2021-02-01 11:40

I have a simple dotnet core class library with a single XUnit test method:

TestLib.csproj:


  
            


        
19条回答
  •  时光说笑
    2021-02-01 12:15

    Had to add Microsoft.TestPlatform.TestHost to get testhost.dll. I found that in this answer https://github.com/dotnet/sdk/issues/7171#issuecomment-261506546

提交回复
热议问题