Repository navigation
[main] Source code updates from dotnet/sdk - #7409
Conversation
[[ commit created by automation ]]
[[ commit created by automation ]]
… 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]>
|
@baronfel I had to disable @lewing @akoeplinger @pavelsavara @maraf I added a version for I also need someone to review and approve this PR so it can be merged. |
|
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? |
|
None at all! |
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. |
|
@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 |
|
Thanks @akoeplinger - will get that in ASAP |
…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.
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