Skip to content

Conversation

@MichaelSimons
Copy link
Member

Related to #5177 and #5519

Problem

source-build prebuilt detection is not enabled. Enabling this will hopefully catch any source-build prebuilts in PR validation and prevent issue like #5519

Solution

Enabled source-build prebuilt detection by removing the "*" entry in https://github.com/dotnet/templating/blob/main/eng/SourceBuildPrebuiltBaseline.xml. I then made the missing Version.Details.xml dependencies to eliminate any reported prebuilts.

I lifted the Microsoft.Extensions.Logging to the most recent versions via the darc dependency flow. This eliminates the need for using source-build ref packages as described in #5177.

@MichaelSimons MichaelSimons requested a review from a team as a code owner November 8, 2022 19:28
@MichaelSimons
Copy link
Member Author

cc @dotnet/source-build-internal, @mmitche, @oleksandr-didyk

@mmitche
Copy link
Member

mmitche commented Nov 10, 2022

@MichaelSimons Looks like there are real issues with the upgrade of some dependencies

Comment on lines 14 to 16
<PackageReference Update="Microsoft.Extensions.Logging" Condition="'$(MicrosoftExtensionsLoggingVersion)' != ''" Version="$(MicrosoftExtensionsLoggingVersion)" />
<PackageReference Update="Microsoft.Extensions.Logging.Console" Condition="'$(MicrosoftExtensionsLoggingConsoleVersion)' != ''" Version="$(MicrosoftExtensionsLoggingConsoleVersion)" />
<PackageReference Update="Microsoft.Extensions.Logging.Abstractions" Condition="'$(MicrosoftExtensionsLoggingAbstractionsVersion)' != ''" Version="$(MicrosoftExtensionsLoggingAbstractionsVersion)" />
Copy link
Member

Choose a reason for hiding this comment

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

Is it still needed?
iirc, this makes source build to use the versions from the repo which are latest release; same as regular build.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think you are correct. I added these back.

@MichaelSimons MichaelSimons enabled auto-merge (squash) January 6, 2023 20:57
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