-
Notifications
You must be signed in to change notification settings - Fork 393
Enable source-build prebuilt detection #5582
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
Enable source-build prebuilt detection #5582
Conversation
|
cc @dotnet/source-build-internal, @mmitche, @oleksandr-didyk |
|
@MichaelSimons Looks like there are real issues with the upgrade of some dependencies |
ef535a3 to
d68e649
Compare
| <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)" /> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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.