-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ubuntu-latest: Failing to run NET6 app due to missing Microsoft.NETCore.App #6925
Comments
Hey @gregory-paidis-sonarsource! |
yeah, @erik-bershel , I installed the latest Just leaving this here, to let you know I do not think it is platform( |
@gregory-paidis-sonarsource yes, it is not a really platform specific. It is more about compability of .Net platforms. As it was mentioned in issue sometimes it happens when you installing both of .Net 7 and 6 on the same machine. We'll see how next build would help you. And in case we got new compability bug, not the same I described, we'll think about another possibility to help you with broaken build. It works right now with old Ubuntu image because of process of retirement - no updates, no preinstalled comability issues. |
Hey @gregory-paidis-sonarsource! |
Hi @gregory-paidis-sonarsource, any updates? How it works right now for you? |
Hey @erik-bershel , sorry for the delay. I will try to use the Thanks for asking! |
hey @erik-bershel, it works. Could you share, at a high level, what changed? Thanks again for the fix! |
@gregory-paidis-sonarsource glad to see it. Main change that supposed been fix issue and did it is .NET Core SDK: 7.0.101 -> 7.0.102 |
Description
After the latest update in ubuntu-latest we started having issues in our Azure pipeline while running a NET6 app with the error:
Executing
dotnet --list-sdks
inside the VM shows:Executing
dotnet --info
inside the VM shows:This seems oddly similar to this ticket that a teammate of mine made some time ago.
Platforms affected
Runner images affected
Image version and build link
Is it regression?
Yes, it worked before commit c82cd67
Expected behavior
Run the App without a runtime error.
Actual behavior
Having an error:
Repro steps
Could not reproduce this locally.
Changing the image to ubuntu-18.04 seems to solve the issue on the pipeline, at least.
The text was updated successfully, but these errors were encountered: