Enable source-build prebuilts detection (#16320)

This commit is contained in:
Nikola Milosavljevic 2023-05-04 13:58:41 -07:00 committed by GitHub
commit 1ebed158cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 2 deletions

View file

@ -1,5 +1,25 @@
<UsageData>
<IgnorePatterns>
<UsagePattern IdentityGlob="*/*" />
<UsagePattern IdentityGlob="Microsoft.SourceBuild.Intermediate.*/*" />
<!--
Temporary exclusion for NuGet packages, since NuGet is not producing source-build intermediate package,
see: https://github.com/NuGet/Home/issues/11059
Once that's fixed, NuGet package version should be updated to newest, and intermediate product dependency
added to Version.Details.xml
-->
<UsagePattern IdentityGlob="NuGet.Common/*5.8.0*" />
<UsagePattern IdentityGlob="NuGet.Configuration/*5.8.0*" />
<UsagePattern IdentityGlob="NuGet.Frameworks/*5.8.0*" />
<UsagePattern IdentityGlob="NuGet.Packaging/*5.8.0*" />
<UsagePattern IdentityGlob="NuGet.Versioning/*5.8.0*" />
<!-- Referenced by NuGet.Packaging.5.8.0 - could be resolved when version of NuGet packages gets updated. -->
<UsagePattern IdentityGlob="System.Security.Cryptography.Cng/5.0.0-preview.3.20214.6" />
<UsagePattern IdentityGlob="System.Security.Cryptography.Pkcs/5.0.0-preview.3.20214.6" />
<!-- These are coming in via runtime but the source-build infra isn't able to automatically pick up the right intermediate. -->
<UsagePattern IdentityGlob="Microsoft.NETCore.App.Crossgen2.linux-x64/*8.0.*" />
</IgnorePatterns>
</UsageData>

View file

@ -20,7 +20,7 @@
<Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.8.0" Version="8.0.0-preview.5.23252.13" CoherentParentDependency="Microsoft.NET.Sdk">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>bc9dad2351827fdbbde7b10ff97f253a065d49e5</Sha>
<SourceBuildTarball RepoName="runtime" ManagedOnly="true" />
<SourceBuild RepoName="runtime" ManagedOnly="false" />
</Dependency>
<Dependency Name="Microsoft.NETCore.App.Ref" Version="8.0.0-preview.5.23252.13" CoherentParentDependency="Microsoft.NET.Sdk">
<Uri>https://github.com/dotnet/runtime</Uri>