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
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.100-preview.8.20373.19\
Host (useful for support):
Version: 5.0.0-preview.8.20372.7
Commit: 3cab6dd440
Fix for this was added here microsoft/vstest#2491 waiting for #12650 to be merged so our automatic inserting into sdk master passes. Then I will need to make PR against preview8.
In latest .Net 5 preview8 SDK(5.0.100-preview.8.20403.18), Error as below when dotnet test xunit
No test is available in C:\Users\v-danche\source\repos\xunit1\bin\Debug\net5.0\xunit1.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
@vdanche the same change that cause the one above also affected xunit visual studio runner package, I patched it here, please update your version to 2.4.3 xunit/visualstudio.xunit#229<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">.
@dsplaisted I also added this to the know issues list. I believe there is nothing more to do in this issue and can be closed. But you are assigned so it is your call 🙂
@vdanche the same change that cause the one above also affected xunit visual studio runner package, I patched it here, please update your version to 2.4.3 xunit/visualstudio.xunit#229<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">.
Steps to produce:
Expected result:
Unit test run successfully
Actual result:
run failed with below error:
Dotnet --info
c:\tt\myxunit>dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.100-preview.8.20373.19
Commit: f0489b2010
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.100-preview.8.20373.19\
Host (useful for support):
Version: 5.0.0-preview.8.20372.7
Commit: 3cab6dd440
.NET SDKs installed:
5.0.100-preview.8.20373.19 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.0-preview.8.20372.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.0-preview.8.20372.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 5.0.0-preview.8.20373.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
The text was updated successfully, but these errors were encountered: