Skip to content

Move SB metadata to intermediates#9893

Merged
ellahathaway merged 2 commits intodotnet:mainfrom
ellahathaway:sb-metadata
Feb 2, 2024
Merged

Move SB metadata to intermediates#9893
ellahathaway merged 2 commits intodotnet:mainfrom
ellahathaway:sb-metadata

Conversation

@ellahathaway
Copy link
Copy Markdown
Member

The changes in this pull request aim to improve the UX and guideance around the SourceBuild metadata by placing the metadata on explicit source-build intermediates.

The changes include:

  • Removing existing SourceBuild metadata from all non-intermediate dependencies.
  • Defining new explicit intermediate dependencies and adding SourceBuild metadata to those dependencies.

Related to dotnet/source-build#3373 and dotnet/source-build#4073

Comment thread eng/Versions.props Outdated
Comment on lines +72 to +76
<MicrosoftSourceBuildIntermediateroslynPackageVersion>4.10.0-1.24072.4</MicrosoftSourceBuildIntermediateroslynPackageVersion>
<MicrosoftVisualStudioLanguageServicesPackageVersion>4.10.0-1.24072.4</MicrosoftVisualStudioLanguageServicesPackageVersion>
<MicrosoftSourceBuildIntermediatearcadeVersion>8.0.0-beta.24081.5</MicrosoftSourceBuildIntermediatearcadeVersion>
<MicrosoftDotNetXliffTasksPackageVersion>1.0.0-beta.23475.1</MicrosoftDotNetXliffTasksPackageVersion>
<MicrosoftSourceBuildIntermediatexlifftasksVersion>1.0.0-beta.23475.1</MicrosoftSourceBuildIntermediatexlifftasksVersion>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we didn't want unused properties to be here.

Copy link
Copy Markdown
Member Author

@ellahathaway ellahathaway Feb 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the group is Automated, if these are missing, errors like Missing version variable 'MicrosoftSourceBuildIntermediatearcadeVersion' in the 'Automated' property group occur. The same thing happened in aspnetcore.

aspnetcore failed build: https://github.com/dotnet/aspnetcore/pull/53749/checks?check_run_id=21128753365

@ellahathaway ellahathaway requested a review from mthalman February 2, 2024 18:37
@ellahathaway ellahathaway merged commit 7785e7a into dotnet:main Feb 2, 2024
@ellahathaway ellahathaway deleted the sb-metadata branch February 2, 2024 19:07
@ghost ghost added this to the Next milestone Feb 2, 2024
@jjonescz jjonescz modified the milestones: Next, 17.10 P2 Feb 27, 2024
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