Skip to content

[main] Source code updates from dotnet/sdk - #7409

Merged
akoeplinger merged 7 commits into
mainfrom
darc-main-2001ad9c-42a1-4c2a-979d-16d6e5b83a51
Jun 29, 2026
Merged

akoeplinger merged 7 commits into
mainfrom
darc-main-2001ad9c-42a1-4c2a-979d-16d6e5b83a51

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a codeflow update. It may contain both source code changes from
the source repo
as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/sdk

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/sdk:dec5a574bf00b0eb4a00285728102dc1c595806b..https://github.com/dotnet/dotnet:darc-main-2001ad9c-42a1-4c2a-979d-16d6e5b83a51

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team June 26, 2026 02:17
@lewing lewing added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Jun 26, 2026
dsplaisted and others added 2 commits June 28, 2026 08:43
… error

The Microsoft.Build.TaskAuthoring.Analyzer package (onboarded in dotnet/sdk
#54979) is not produced from source in the source-only VMR build, so referencing
it there fails finish-source-only.proj with 'Prebuilt packages are not allowed
in source-only builds'. The analyzer is report-only (IsShipping=false) and does
not affect build output, so it is safe to exclude when DotNetBuildSourceOnly is
true. This unblocks the source-only leg of the dotnet/sdk -> VMR codeflow.

A durable fix (producing the analyzer from source in dotnet/msbuild, or making
the equivalent change in dotnet/sdk) is being followed up separately.

Co-authored-by: Copilot <[email protected]>
@lewing lewing removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Jun 28, 2026
@dsplaisted

Copy link
Copy Markdown
Member

@baronfel I had to disable _UseMSBuildTaskAuthoringAnalyzer which was added in dotnet/sdk#54979 in source-only build because Microsoft.Build.TaskAuthoring.Analyzer wasn't available there. Is this the right solution or should that package be built in source-only build?

@lewing @akoeplinger @pavelsavara @maraf I added a version for Microsoft.NET.Runtime.Emscripten.5.0.6.Cache.win-x64, because it was empty but I'm not really sure what's going on there and whether that will be reverted in a future codeflow.

I also need someone to review and approve this PR so it can be merged.

@baronfel

Copy link
Copy Markdown
Member

That package should be built - I tried to set this up with Matt's help in the PR so that it wouldn't be a problem, because MSBuild should be able to build the package and then have SDK consume it (and we'll want many downstream consumers of MSBuild to consume it as well for build hygiene).

@dsplaisted

Copy link
Copy Markdown
Member

That package should be built - I tried to set this up with Matt's help in the PR so that it wouldn't be a problem, because MSBuild should be able to build the package and then have SDK consume it (and we'll want many downstream consumers of MSBuild to consume it as well for build hygiene).

@baronfel Any issue with merging this as is and filing a follow-up issue to get it working with source-only build?

@baronfel

Copy link
Copy Markdown
Member

None at all!

@akoeplinger

Copy link
Copy Markdown
Member

I added a version for Microsoft.NET.Runtime.Emscripten.5.0.6.Cache.win-x64, because it was empty but I'm not really sure what's going on there and whether that will be reverted in a future codeflow.

The empty version is harmless (other than failing a Maestro check), it'd have been overwritten by a later codeflow but your change is fine too.

@akoeplinger
akoeplinger merged commit abed82b into main Jun 29, 2026
16 checks passed
@akoeplinger
akoeplinger deleted the darc-main-2001ad9c-42a1-4c2a-979d-16d6e5b83a51 branch June 29, 2026 09:57
@akoeplinger

Copy link
Copy Markdown
Member

@baronfel for the Microsoft.Build.TaskAuthoring.Analyzer, the reason is that the package is not build in source-build in msbuild. It will need to be added to https://github.com/dotnet/msbuild/blob/main/MSBuild.SourceBuild.slnf

@baronfel

Copy link
Copy Markdown
Member

Thanks @akoeplinger - will get that in ASAP

baronfel added a commit to dotnet/msbuild that referenced this pull request Jun 29, 2026
…n use it (#14209)

Fixes the build gap for source build of the analyzer package that
@dsplaisted reported in
dotnet/dotnet#7409 (comment) in
the way that @akoeplinger suggested - adding the analyzer to the source
build list of projects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants