-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
.NET Source-Build 9.0.100-preview.7.24407.1 August 2024 Updates #42699
Conversation
No arcade version update? Is that expected? |
Oh, good catch. I'll investigate. |
Yep, Arcade is all current. Here's what it should be: Here's what it is: sdk/src/SourceBuild/content/eng/Version.Details.xml Lines 5 to 7 in 2c9444f
They match. |
/azp run sdk-source-build |
This is failing in the VMR build of winforms with the following error:
binlog: winforms.zip This is related to the changes in #42216. For context, this PR is updating the SDK version used by the VMR to the official Preview 7 build. It's failing when building the winforms repo. It seems that the winforms repo is using the MSBuild version from VS to build rather than the SDK. See: I would expect the winforms repo to run into this same issue if its global.json was updated to use Preview 7 SDK. |
This means msbuild is some old version (e.g., 17.11 with roslyn 4.11) and SDK is a newer version (here preview 7, having analyzers referencing roslyn 4.12). In that "torn" state we automatically download a package with the corresponding compiler (4.12) that can be used during the build - otherwise analyzers could fail since they reference newer roslyn version (4.12) than the host msbuild has (4.11). The NETSDK1216 error means the package wasn't restored properly.
My guess is that this isn't running restore so specifying something like cc @jaredpar |
@JeremyKuhne - Looking for someone working in the winforms repo to help implement the recommendation from above: #42699 (comment). Can you help with that? |
I'm wrapping up for vacation. @lonitra can you assist @mthalman? |
Try updating global.json to point to SDK 9 preview 7, it should then fail to build with the same error. |
/backport to release/9.0.1xx |
Started backporting to release/9.0.1xx: https://github.com/dotnet/sdk/actions/runs/10421079358 |
The latest failure from UB pipeline on the Windows leg:
This is consistently failing. It occurs in the |
sdk/src/SourceBuild/content/repo-projects/Directory.Build.targets Lines 527 to 529 in 6e23b6e
Microsoft.Net.Compilers.Toolset .
I wonder if this coming from the new desktop OOB compiler package as wpf builds with desktop msbuild afaik. dotnet/source-build#4175 has more details on this issue. |
Source-build updates for the .NET / 9.0.100-preview.7.24407.1 August 2024 release.