-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DotNet test runs fail for a x86 projects - Microsoft.WindowsDesktop.App (net core 6) is missing on windows-latest runner, #485
Comments
Hello, @kerrywicks ! Thank you for reporting this issue, we will look into it :) |
We are also seeing this issue for x86 tests. Started within the last 2 weeks. |
We are also facing the issue for x86 tests from last week |
We are having the same issue in our builds, starting on the 20th of November. Our current workaround is to use a self hosted agent where we manually install windows desktop development packages.
To trigger the issue, we've used the following csproj settings:
"Test project"
|
Same her. VSTest@2 doesnt work either. |
I have a fork that fixes the issue but would like it resolved upstream. This is just a hack to make sure we have the right dotnet version. It should be supported properly by Github Actions IMO. |
Description:
This has been an issue since Wednesday 22nd November. DotNet test runs fail for a x86 projects with an error message stating that Microsoft.WindowsDesktop.App (net core 6) is missing on windows-latest (github action) runner.
This issue was raised here: actions/runner-images#8859 (reported as an Azure devops issue), but was closed with a claim that it is not image related, and it was recommended to raise the issue here. I'm hoping this is the right place to raise this! If I should raise this elsewhere, please let me know and feel free to close this.
Task version:
setup-dotnet@v3
Platform:
Windows
Runner type:
Hosted - github action + Azure devops
Repro steps:
Here are the tasks I am attempting to run:
This task does pass, but gives the message:
The next task is to run the unit tests for a windows app project:
This task fails with the following message:
Expected behavior:
I'd expect .net 6 to install if it is in fact missing for both x86 and x64, and as such I would expect the testhost to be able to run tests successfully.
Actual behavior:
The image thinks that .Net is installed at the requested version - however, the x86 portion for .net tests seem to be missing. Note that x86 non-test projects build and run successfully as expected.
The text was updated successfully, but these errors were encountered: