Skip to content
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

windows-2022 version 20241113.3.0 breaks our build #10987

Open
2 of 15 tasks
Bouke opened this issue Nov 18, 2024 · 12 comments
Open
2 of 15 tasks

windows-2022 version 20241113.3.0 breaks our build #10987

Bouke opened this issue Nov 18, 2024 · 12 comments

Comments

@Bouke
Copy link

Bouke commented Nov 18, 2024

Description

We're using repeatable package restores in our .NET build pipeline. However as version 20241113.3.0 started rolling out to agents, our build has been failing:

error NU1004: The project's runtime identifiers have changed from. Project's runtime identifiers: win-x86, lock file's runtime identifiers win7-x86.The packages lock file is inconsistent with the project dependencies so restore can't be run in locked mode. Disable the RestoreLockedMode MSBuild property or pass an explicit --force-evaluate option to run restore to update the lock file.

We're still targeting .NET 8, not .NET 9, so I don't understand why this is now failing. We've since tried updating the lockfiles. However as some agents are still running 20241021.1.0, the updated lockfiles will fail on those. This is not a great situation to be in. Also updating the lockfiles requires all our developers to install .NET 9 SDK, which is something we would like to avoid.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

20241113.3.0

Is it regression?

20241021.1.0

Expected behavior

Projects targeting .NET 8 (LTS) should continue to do so.

Actual behavior

Build fails.

Repro steps

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @Bouke , Thank you for bringing this issue. we will revert once we have an update. thanks

@Bouke
Copy link
Author

Bouke commented Nov 18, 2024

Hi @vidyasagarnimmagaddi, any update on this?

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @Bouke ,We observed that some agents are running with 20241021.1.0
We plan to start image rollout this week,once this is done, issue will be resolved.

@Bouke
Copy link
Author

Bouke commented Nov 19, 2024

@vidyasagarnimmagaddi What do you mean with this, will you revert the rollout of 20241113.3.0?

@vidyasagarnimmagaddi
Copy link
Contributor

@vidyasagarnimmagaddi What do you mean with this, will you revert the rollout of 20241113.3.0?

Hi @Bouke , i mean new image rollout .

@Bouke
Copy link
Author

Bouke commented Nov 19, 2024

@vidyasagarnimmagaddi Can you be more specific in how you're going to address this issue? For example: "we're going to complete the 20241113.3.0 image rollout, and you'll not see 20241021.1.0 again". If that's the case: that doesn't solve the issue: we'd still need all our developers to install .NET 9 SDK.

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @Bouke , When we rollout new image version this week, there will not be any agents with older version i.e, (20241021.1.0, 20241113.3.0) ,. We make sure all the agents are with the newly released version only. thanks.

@Bouke
Copy link
Author

Bouke commented Nov 19, 2024

Please consider rolling back .NET 9 SDK. There's a known issue with .NET 9 that silently breaks our app in production, which is not going to be fixed until .NET 10 SDK: dotnet/sdk#44160 (comment).

@normeno
Copy link

normeno commented Nov 19, 2024

I have a similar problem. I use MSBuild and with version 20241021.1.0 it works, but with version 20241113.3.0, my workflow breaks

20241021.1.0:
image

20241113.3.0:
image

Unfortunately that version is not something I can select and I don't know how to fix it.

@Bouke
Copy link
Author

Bouke commented Nov 22, 2024

@vidyasagarnimmagaddi did you read anything of what I posted?

@vidyasagarnimmagaddi
Copy link
Contributor

vidyasagarnimmagaddi commented Nov 22, 2024

Please consider rolling back .NET 9 SDK. There's a known issue with .NET 9 that silently breaks our app in production, which is not going to be fixed until .NET 10 SDK: dotnet/sdk#44160 (comment).

Hi @Bouke , we are currently anayzing and will revert you . thanks

@dvdgzl
Copy link

dvdgzl commented Nov 25, 2024

@vidyasagarnimmagaddi Is there any update on this? 20241113.3.0 has broken our builds as well which may cause a delay in an upcoming release. Randomly, we had one successful build that somehow used an unreleased version 20241119.5.0. If we could keep using that version it would be great :) Thank you!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants