-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Enable prebuilt detection #47894
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 prebuilt detection #47894
Conversation
- Add some missing depenencies with source-build tags - Update baseline - Remove some unused NuGet properties - Remove old source build workaround - Remove explicit reference to Microbuild.Core - Pass DotNetBuildFromSource to the repo tasks inner build environment
<UsagePattern IdentityGlob="Microsoft.SourceBuild.Intermediate.*/*" /> | ||
|
||
<!-- These are used in-build for repo-tasks and should come from previously source built --> | ||
<UsagePattern IdentityGlob="NuGet.Common/*6.2.2*" /> |
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.
Will we have to maintain these hardcoded versions?
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.
Why not use the versions from Versions.props
?
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.
This isn't loaded by msbuild. They will need to be maintained, but I assume they will not update too often.
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.
Will we see an error if we update the related package versions but don't update these? Want to make sure we don't let it fall behind
eng/tools/RepoTasks/RepoTasks.csproj
Outdated
@@ -23,6 +23,8 @@ | |||
<PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" /> | |||
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" /> | |||
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" /> | |||
<!-- Manually updated version from 6.0.0 to address CVE-2021-43877 --> | |||
<PackageReference Include="System.Security.Cryptography.Xml" Version="6.0.1" /> |
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.
We should property-ize this and put it in Versions.props
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.
Done. It differs from the 8.0 version so I chose a different property name
@wtgodbe Looking good now. |
{PR title}
Summary of the changes (Less than 80 chars)
Description
{Detail}
Fixes #{bug number} (in this specific format)