[release/6.0.1xx] Update dependencies from dotnet/sdk (#12355)
[release/6.0.1xx] Update dependencies from dotnet/sdk - Coherency Updates: - Microsoft.NETCore.App.Ref: from 6.0.0-rtm.21512.8 to 6.0.0-rtm.21513.8 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.TargetingPack.x64.6.0: from 6.0.0-rtm.21512.8 to 6.0.0-rtm.21513.8 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-rtm.21512.8 to 6.0.0-rtm.21513.8 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Host.win-x64: from 6.0.0-rtm.21512.8 to 6.0.0-rtm.21513.8 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.DotNetHostResolver: from 6.0.0-rtm.21512.8 to 6.0.0-rtm.21513.8 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.Platforms: from 6.0.0-rtm.21512.8 to 6.0.0-rtm.21513.8 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref: from 6.0.0-rtm.21512.5 to 6.0.0-rtm.21513.9 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref.Internal: from 6.0.0-rtm.21512.5 to 6.0.0-rtm.21513.9 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Runtime.win-x64: from 6.0.0-rtm.21512.5 to 6.0.0-rtm.21513.9 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.AspNetCore.SharedFramework.x64.6.0: from 6.0.0-rtm.21512.5 to 6.0.0-rtm.21513.9 (parent: Microsoft.NET.Sdk) - dotnet-dev-certs: from 6.0.0-rtm.21512.5 to 6.0.0-rtm.21513.9 (parent: Microsoft.NET.Sdk) - dotnet-user-secrets: from 6.0.0-rtm.21512.5 to 6.0.0-rtm.21513.9 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.SharedFramework.x64.6.0: from 6.0.0-rtm.21512.8 to 6.0.0-rtm.21513.8 (parent: Microsoft.NET.Sdk) - Microsoft.NET.Workload.Emscripten.Manifest-6.0.100: from 6.0.0-rtm.21505.3 to 6.0.0-rtm.21512.1 (parent: VS.Redist.Common.NetCore.SharedFramework.x64.6.0) - Resolve source-build patch conflicts
This commit is contained in:
parent
792f9a0244
commit
8b7247c58e
4 changed files with 48 additions and 505 deletions
|
@ -17,30 +17,30 @@
|
|||
<Uri>https://github.com/dotnet/windowsdesktop</Uri>
|
||||
<Sha>e01b6fd0d6e99a3f702f6e0d17ded1b3b020ca7c</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.6.0" Version="6.0.0-rtm.21512.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.6.0" Version="6.0.0-rtm.21513.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>12fb2c3a2e11596268e58f087728eed53acfced3</Sha>
|
||||
<Sha>77fe2e0fed0bd7648087c3839c4d3d4ee0cc82a2</Sha>
|
||||
<SourceBuildTarball RepoName="runtime" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NETCore.App.Ref" Version="6.0.0-rtm.21512.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="Microsoft.NETCore.App.Ref" Version="6.0.0-rtm.21513.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>12fb2c3a2e11596268e58f087728eed53acfced3</Sha>
|
||||
<Sha>77fe2e0fed0bd7648087c3839c4d3d4ee0cc82a2</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="VS.Redist.Common.NetCore.TargetingPack.x64.6.0" Version="6.0.0-rtm.21512.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="VS.Redist.Common.NetCore.TargetingPack.x64.6.0" Version="6.0.0-rtm.21513.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>12fb2c3a2e11596268e58f087728eed53acfced3</Sha>
|
||||
<Sha>77fe2e0fed0bd7648087c3839c4d3d4ee0cc82a2</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="6.0.0-rtm.21512.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="6.0.0-rtm.21513.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>12fb2c3a2e11596268e58f087728eed53acfced3</Sha>
|
||||
<Sha>77fe2e0fed0bd7648087c3839c4d3d4ee0cc82a2</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NETCore.App.Host.win-x64" Version="6.0.0-rtm.21512.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="Microsoft.NETCore.App.Host.win-x64" Version="6.0.0-rtm.21513.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>12fb2c3a2e11596268e58f087728eed53acfced3</Sha>
|
||||
<Sha>77fe2e0fed0bd7648087c3839c4d3d4ee0cc82a2</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NETCore.DotNetHostResolver" Version="6.0.0-rtm.21512.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="Microsoft.NETCore.DotNetHostResolver" Version="6.0.0-rtm.21513.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>12fb2c3a2e11596268e58f087728eed53acfced3</Sha>
|
||||
<Sha>77fe2e0fed0bd7648087c3839c4d3d4ee0cc82a2</Sha>
|
||||
</Dependency>
|
||||
<!-- Change blob version in GenerateLayout.targets if this is unpinned to service targeting pack -->
|
||||
<!-- No new netstandard.library planned for 3.1 timeframe at this time. -->
|
||||
|
@ -48,34 +48,34 @@
|
|||
<Uri>https://github.com/dotnet/core-setup</Uri>
|
||||
<Sha>7d57652f33493fa022125b7f63aad0d70c52d810</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NETCore.Platforms" Version="6.0.0-rtm.21512.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="Microsoft.NETCore.Platforms" Version="6.0.0-rtm.21513.8" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>12fb2c3a2e11596268e58f087728eed53acfced3</Sha>
|
||||
<Sha>77fe2e0fed0bd7648087c3839c4d3d4ee0cc82a2</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="6.0.0-rtm.21512.5" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="6.0.0-rtm.21513.9" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/aspnetcore</Uri>
|
||||
<Sha>35c305b6a6d3738475771dc8a6321e26be4b8935</Sha>
|
||||
<Sha>67cbd6684d745da649235726de976439561d6c1f</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="6.0.0-rtm.21512.5" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="6.0.0-rtm.21513.9" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/aspnetcore</Uri>
|
||||
<Sha>35c305b6a6d3738475771dc8a6321e26be4b8935</Sha>
|
||||
<Sha>67cbd6684d745da649235726de976439561d6c1f</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.AspNetCore.App.Runtime.win-x64" Version="6.0.0-rtm.21512.5" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="Microsoft.AspNetCore.App.Runtime.win-x64" Version="6.0.0-rtm.21513.9" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/aspnetcore</Uri>
|
||||
<Sha>35c305b6a6d3738475771dc8a6321e26be4b8935</Sha>
|
||||
<Sha>67cbd6684d745da649235726de976439561d6c1f</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="VS.Redist.Common.AspNetCore.SharedFramework.x64.6.0" Version="6.0.0-rtm.21512.5" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="VS.Redist.Common.AspNetCore.SharedFramework.x64.6.0" Version="6.0.0-rtm.21513.9" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/aspnetcore</Uri>
|
||||
<Sha>35c305b6a6d3738475771dc8a6321e26be4b8935</Sha>
|
||||
<Sha>67cbd6684d745da649235726de976439561d6c1f</Sha>
|
||||
<SourceBuild RepoName="aspnetcore" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="dotnet-dev-certs" Version="6.0.0-rtm.21512.5" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="dotnet-dev-certs" Version="6.0.0-rtm.21513.9" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/aspnetcore</Uri>
|
||||
<Sha>35c305b6a6d3738475771dc8a6321e26be4b8935</Sha>
|
||||
<Sha>67cbd6684d745da649235726de976439561d6c1f</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="dotnet-user-secrets" Version="6.0.0-rtm.21512.5" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Dependency Name="dotnet-user-secrets" Version="6.0.0-rtm.21513.9" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/aspnetcore</Uri>
|
||||
<Sha>35c305b6a6d3738475771dc8a6321e26be4b8935</Sha>
|
||||
<Sha>67cbd6684d745da649235726de976439561d6c1f</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.2.1" Version="1.0.2-beta4.21473.2">
|
||||
<Uri>https://github.com/dotnet/test-templates</Uri>
|
||||
|
@ -103,14 +103,14 @@
|
|||
<Uri>https://github.com/dotnet/templating</Uri>
|
||||
<Sha>7c72083fad2c59e2e8bd29019e6aa7586b8a72e3</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NET.Sdk" Version="6.0.100-rtm.21513.27">
|
||||
<Dependency Name="Microsoft.NET.Sdk" Version="6.0.100-rtm.21513.36">
|
||||
<Uri>https://github.com/dotnet/sdk</Uri>
|
||||
<Sha>bdd7a1e9d18a40e2d34c2e7e512eccd27a235537</Sha>
|
||||
<Sha>9ebaa619eb6ad6f4bb44de62d073574bf55d3405</Sha>
|
||||
<SourceBuild RepoName="sdk" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.MSBuildSdkResolver" Version="6.0.100-rtm.21513.27">
|
||||
<Dependency Name="Microsoft.DotNet.MSBuildSdkResolver" Version="6.0.100-rtm.21513.36">
|
||||
<Uri>https://github.com/dotnet/sdk</Uri>
|
||||
<Sha>bdd7a1e9d18a40e2d34c2e7e512eccd27a235537</Sha>
|
||||
<Sha>9ebaa619eb6ad6f4bb44de62d073574bf55d3405</Sha>
|
||||
</Dependency>
|
||||
<!-- For coherency purposes, these versions should be gated by the versions of winforms and wpf routed via windowsdesktop -->
|
||||
<Dependency Name="Microsoft.Dotnet.WinForms.ProjectTemplates" Version="6.0.0-rtm.21512.5" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
|
||||
|
@ -166,9 +166,9 @@
|
|||
<Sha>698fdad58fa64a55f16cd9562c90224cc498ed02</Sha>
|
||||
<SourceBuildTarball RepoName="xdt" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NET.Workload.Emscripten.Manifest-6.0.100" Version="6.0.0-rtm.21505.3" CoherentParentDependency="VS.Redist.Common.NetCore.SharedFramework.x64.6.0">
|
||||
<Dependency Name="Microsoft.NET.Workload.Emscripten.Manifest-6.0.100" Version="6.0.0-rtm.21512.1" CoherentParentDependency="VS.Redist.Common.NetCore.SharedFramework.x64.6.0">
|
||||
<Uri>https://github.com/dotnet/emsdk</Uri>
|
||||
<Sha>fd04453453de7a7d5581f4f129de09ad6838d89e</Sha>
|
||||
<Sha>199dbf8b315d8f82dae2d6de72fb63ad26b31907</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build" Version="0.1.0-alpha.1.21508.1" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||
<Uri>https://github.com/dotnet/source-build</Uri>
|
||||
|
|
|
@ -44,36 +44,36 @@
|
|||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Dependencies from https://github.com/aspnet/AspNetCore -->
|
||||
<MicrosoftAspNetCoreAppRuntimewinx64PackageVersion>6.0.0-rtm.21512.5</MicrosoftAspNetCoreAppRuntimewinx64PackageVersion>
|
||||
<MicrosoftAspNetCoreAppRefPackageVersion>6.0.0-rtm.21512.5</MicrosoftAspNetCoreAppRefPackageVersion>
|
||||
<MicrosoftAspNetCoreAppRefInternalPackageVersion>6.0.0-rtm.21512.5</MicrosoftAspNetCoreAppRefInternalPackageVersion>
|
||||
<VSRedistCommonAspNetCoreSharedFrameworkx6460PackageVersion>6.0.0-rtm.21512.5</VSRedistCommonAspNetCoreSharedFrameworkx6460PackageVersion>
|
||||
<dotnetdevcertsPackageVersion>6.0.0-rtm.21512.5</dotnetdevcertsPackageVersion>
|
||||
<dotnetusersecretsPackageVersion>6.0.0-rtm.21512.5</dotnetusersecretsPackageVersion>
|
||||
<MicrosoftAspNetCoreAppRuntimewinx64PackageVersion>6.0.0-rtm.21513.9</MicrosoftAspNetCoreAppRuntimewinx64PackageVersion>
|
||||
<MicrosoftAspNetCoreAppRefPackageVersion>6.0.0-rtm.21513.9</MicrosoftAspNetCoreAppRefPackageVersion>
|
||||
<MicrosoftAspNetCoreAppRefInternalPackageVersion>6.0.0-rtm.21513.9</MicrosoftAspNetCoreAppRefInternalPackageVersion>
|
||||
<VSRedistCommonAspNetCoreSharedFrameworkx6460PackageVersion>6.0.0-rtm.21513.9</VSRedistCommonAspNetCoreSharedFrameworkx6460PackageVersion>
|
||||
<dotnetdevcertsPackageVersion>6.0.0-rtm.21513.9</dotnetdevcertsPackageVersion>
|
||||
<dotnetusersecretsPackageVersion>6.0.0-rtm.21513.9</dotnetusersecretsPackageVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<MicroBuildCorePackageVersion>0.2.0</MicroBuildCorePackageVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Dependencies from https://github.com/dotnet/sdk -->
|
||||
<MicrosoftNETSdkPackageVersion>6.0.100-rtm.21513.27</MicrosoftNETSdkPackageVersion>
|
||||
<MicrosoftDotNetMSBuildSdkResolverPackageVersion>6.0.100-rtm.21513.27</MicrosoftDotNetMSBuildSdkResolverPackageVersion>
|
||||
<MicrosoftNETSdkPackageVersion>6.0.100-rtm.21513.36</MicrosoftNETSdkPackageVersion>
|
||||
<MicrosoftDotNetMSBuildSdkResolverPackageVersion>6.0.100-rtm.21513.36</MicrosoftDotNetMSBuildSdkResolverPackageVersion>
|
||||
<MicrosoftNETBuildExtensionsPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftNETBuildExtensionsPackageVersion>
|
||||
<MicrosoftDotnetToolsetInternalPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetToolsetInternalPackageVersion>
|
||||
<MicrosoftDotnetTemplateLocatorPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetTemplateLocatorPackageVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Dependencies from https://github.com/dotnet/corefx -->
|
||||
<MicrosoftNETCorePlatformsPackageVersion>6.0.0-rtm.21512.8</MicrosoftNETCorePlatformsPackageVersion>
|
||||
<MicrosoftNETCorePlatformsPackageVersion>6.0.0-rtm.21513.8</MicrosoftNETCorePlatformsPackageVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- Dependencies from https://github.com/dotnet/core-setup -->
|
||||
<VSRedistCommonNetCoreSharedFrameworkx6460PackageVersion>6.0.0-rtm.21512.8</VSRedistCommonNetCoreSharedFrameworkx6460PackageVersion>
|
||||
<VSRedistCommonNetCoreTargetingPackx6460PackageVersion>6.0.0-rtm.21512.8</VSRedistCommonNetCoreTargetingPackx6460PackageVersion>
|
||||
<MicrosoftNETCoreAppRuntimewinx64PackageVersion>6.0.0-rtm.21512.8</MicrosoftNETCoreAppRuntimewinx64PackageVersion>
|
||||
<MicrosoftNETCoreAppHostwinx64PackageVersion>6.0.0-rtm.21512.8</MicrosoftNETCoreAppHostwinx64PackageVersion>
|
||||
<MicrosoftNETCoreAppRefPackageVersion>6.0.0-rtm.21512.8</MicrosoftNETCoreAppRefPackageVersion>
|
||||
<MicrosoftNETCoreDotNetHostResolverPackageVersion>6.0.0-rtm.21512.8</MicrosoftNETCoreDotNetHostResolverPackageVersion>
|
||||
<VSRedistCommonNetCoreSharedFrameworkx6460PackageVersion>6.0.0-rtm.21513.8</VSRedistCommonNetCoreSharedFrameworkx6460PackageVersion>
|
||||
<VSRedistCommonNetCoreTargetingPackx6460PackageVersion>6.0.0-rtm.21513.8</VSRedistCommonNetCoreTargetingPackx6460PackageVersion>
|
||||
<MicrosoftNETCoreAppRuntimewinx64PackageVersion>6.0.0-rtm.21513.8</MicrosoftNETCoreAppRuntimewinx64PackageVersion>
|
||||
<MicrosoftNETCoreAppHostwinx64PackageVersion>6.0.0-rtm.21513.8</MicrosoftNETCoreAppHostwinx64PackageVersion>
|
||||
<MicrosoftNETCoreAppRefPackageVersion>6.0.0-rtm.21513.8</MicrosoftNETCoreAppRefPackageVersion>
|
||||
<MicrosoftNETCoreDotNetHostResolverPackageVersion>6.0.0-rtm.21513.8</MicrosoftNETCoreDotNetHostResolverPackageVersion>
|
||||
<NETStandardLibraryRefPackageVersion>2.1.0</NETStandardLibraryRefPackageVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
|
@ -171,7 +171,7 @@
|
|||
<XamarinMacOSWorkloadManifestVersion>12.0.101-preview.9.31</XamarinMacOSWorkloadManifestVersion>
|
||||
<XamarinTvOSWorkloadManifestVersion>15.0.101-preview.9.31</XamarinTvOSWorkloadManifestVersion>
|
||||
<MonoWorkloadManifestVersion>$(MicrosoftNETCoreAppRefPackageVersion)</MonoWorkloadManifestVersion>
|
||||
<MicrosoftNETWorkloadEmscriptenManifest60100Version>6.0.0-rtm.21505.3</MicrosoftNETWorkloadEmscriptenManifest60100Version>
|
||||
<MicrosoftNETWorkloadEmscriptenManifest60100Version>6.0.0-rtm.21512.1</MicrosoftNETWorkloadEmscriptenManifest60100Version>
|
||||
<EmscriptenWorkloadManifestVersion>$(MicrosoftNETWorkloadEmscriptenManifest60100Version)</EmscriptenWorkloadManifestVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -1,266 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Eric Erhardt <eric.erhardt@microsoft.com>
|
||||
Date: Fri, 8 Oct 2021 19:55:43 -0500
|
||||
Subject: [PATCH 1/2] Remove RefOnly dependency versions
|
||||
|
||||
This allows for source-build to replace these versions with source-built versions.
|
||||
|
||||
Note: Removing unnecessary MSBuild PackageReferences rather than updating the version of these unnecessary references.
|
||||
|
||||
See https://github.com/dotnet/source-build/issues/2421 for details.
|
||||
Backported to runtime with https://github.com/dotnet/runtime/pull/60315.
|
||||
---
|
||||
eng/Versions.props | 14 ++++----------
|
||||
...crosoft.DotNet.CoreSetup.Packaging.Tests.csproj | 2 +-
|
||||
.../src/Microsoft.NETCore.Platforms.csproj | 5 ++---
|
||||
.../AndroidAppBuilder/AndroidAppBuilder.csproj | 5 +----
|
||||
src/tasks/AotCompilerTask/MonoAOTCompiler.csproj | 6 ++----
|
||||
src/tasks/AppleAppBuilder/AppleAppBuilder.csproj | 5 +----
|
||||
src/tasks/Crossgen2Tasks/Crossgen2Tasks.csproj | 7 ++-----
|
||||
src/tasks/ILStripTask/ILStrip.csproj | 5 +----
|
||||
.../JsonToItemsTaskFactory.csproj | 5 +----
|
||||
.../RuntimeConfigParser/RuntimeConfigParser.csproj | 6 ++----
|
||||
src/tasks/WasmAppBuilder/WasmAppBuilder.csproj | 5 +----
|
||||
src/tasks/WasmBuildTasks/WasmBuildTasks.csproj | 5 +----
|
||||
.../WorkloadBuildTasks/WorkloadBuildTasks.csproj | 5 +----
|
||||
src/tasks/installer.tasks/installer.tasks.csproj | 6 +++---
|
||||
14 files changed, 23 insertions(+), 58 deletions(-)
|
||||
|
||||
diff --git a/eng/Versions.props b/eng/Versions.props
|
||||
index 94a3045e604..d2c0d141056 100644
|
||||
--- a/eng/Versions.props
|
||||
+++ b/eng/Versions.props
|
||||
@@ -146,16 +146,10 @@
|
||||
<XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
|
||||
<MicrosoftDiagnosticsToolsRuntimeClientVersion>1.0.4-preview6.19326.1</MicrosoftDiagnosticsToolsRuntimeClientVersion>
|
||||
<MicrosoftDiagnosticsNETCoreClientVersion>0.2.61701</MicrosoftDiagnosticsNETCoreClientVersion>
|
||||
- <!--
|
||||
- These are used as reference assemblies only, so they must not take a ProdCon/source-build
|
||||
- version. Insert "RefOnly" to avoid assignment via PVP.
|
||||
- -->
|
||||
- <RefOnlyMicrosoftBuildVersion>16.10.0</RefOnlyMicrosoftBuildVersion>
|
||||
- <RefOnlyMicrosoftBuildFrameworkVersion>$(RefOnlyMicrosoftBuildVersion)</RefOnlyMicrosoftBuildFrameworkVersion>
|
||||
- <RefOnlyMicrosoftBuildTasksCoreVersion>$(RefOnlyMicrosoftBuildVersion)</RefOnlyMicrosoftBuildTasksCoreVersion>
|
||||
- <RefOnlyMicrosoftBuildUtilitiesCoreVersion>$(RefOnlyMicrosoftBuildVersion)</RefOnlyMicrosoftBuildUtilitiesCoreVersion>
|
||||
- <RefOnlyNugetProjectModelVersion>5.8.0</RefOnlyNugetProjectModelVersion>
|
||||
- <RefOnlyNugetPackagingVersion>5.8.0</RefOnlyNugetPackagingVersion>
|
||||
+ <MicrosoftBuildVersion>16.10.0</MicrosoftBuildVersion>
|
||||
+ <MicrosoftBuildTasksCoreVersion>$(MicrosoftBuildVersion)</MicrosoftBuildTasksCoreVersion>
|
||||
+ <NugetProjectModelVersion>5.8.0</NugetProjectModelVersion>
|
||||
+ <NugetPackagingVersion>5.8.0</NugetPackagingVersion>
|
||||
<!-- Testing -->
|
||||
<MicrosoftNETCoreCoreDisToolsVersion>1.0.1-prerelease-00006</MicrosoftNETCoreCoreDisToolsVersion>
|
||||
<MicrosoftNETTestSdkVersion>16.9.0-preview-20201201-01</MicrosoftNETTestSdkVersion>
|
||||
diff --git a/src/installer/tests/Microsoft.DotNet.CoreSetup.Packaging.Tests/Microsoft.DotNet.CoreSetup.Packaging.Tests.csproj b/src/installer/tests/Microsoft.DotNet.CoreSetup.Packaging.Tests/Microsoft.DotNet.CoreSetup.Packaging.Tests.csproj
|
||||
index 8dcef20c22d..73a3fda2b55 100644
|
||||
--- a/src/installer/tests/Microsoft.DotNet.CoreSetup.Packaging.Tests/Microsoft.DotNet.CoreSetup.Packaging.Tests.csproj
|
||||
+++ b/src/installer/tests/Microsoft.DotNet.CoreSetup.Packaging.Tests/Microsoft.DotNet.CoreSetup.Packaging.Tests.csproj
|
||||
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="NuGet.Packaging" Version="$(RefOnlyNugetPackagingVersion)" />
|
||||
+ <PackageReference Include="NuGet.Packaging" Version="$(NugetPackagingVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
diff --git a/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj b/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj
|
||||
index 3872248843d..4968a69f531 100644
|
||||
--- a/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj
|
||||
+++ b/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj
|
||||
@@ -44,9 +44,8 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="NuGet.ProjectModel" Version="$(RefOnlyNugetProjectModelVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
+ <PackageReference Include="NuGet.ProjectModel" Version="$(NugetProjectModelVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="GenerateRuntimeJson" Condition="'$(AdditionalRuntimeIdentifiers)' != ''" BeforeTargets="GenerateNuspec">
|
||||
diff --git a/src/tasks/AndroidAppBuilder/AndroidAppBuilder.csproj b/src/tasks/AndroidAppBuilder/AndroidAppBuilder.csproj
|
||||
index de6a04a95f0..139d5672ee0 100644
|
||||
--- a/src/tasks/AndroidAppBuilder/AndroidAppBuilder.csproj
|
||||
+++ b/src/tasks/AndroidAppBuilder/AndroidAppBuilder.csproj
|
||||
@@ -11,10 +11,7 @@
|
||||
<EmbeddedResource Include="Templates\*.*" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ApkBuilder.cs" />
|
||||
diff --git a/src/tasks/AotCompilerTask/MonoAOTCompiler.csproj b/src/tasks/AotCompilerTask/MonoAOTCompiler.csproj
|
||||
index 840115ca71b..caf34787a2d 100644
|
||||
--- a/src/tasks/AotCompilerTask/MonoAOTCompiler.csproj
|
||||
+++ b/src/tasks/AotCompilerTask/MonoAOTCompiler.csproj
|
||||
@@ -11,10 +11,8 @@
|
||||
<NoWarn Condition="$(TargetFramework.StartsWith('net4'))">$(NoWarn),CS8604,CS8602</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
diff --git a/src/tasks/AppleAppBuilder/AppleAppBuilder.csproj b/src/tasks/AppleAppBuilder/AppleAppBuilder.csproj
|
||||
index 7ceb4480e1c..e28dafef5d8 100644
|
||||
--- a/src/tasks/AppleAppBuilder/AppleAppBuilder.csproj
|
||||
+++ b/src/tasks/AppleAppBuilder/AppleAppBuilder.csproj
|
||||
@@ -11,10 +11,7 @@
|
||||
<EmbeddedResource Include="Templates\*.*" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AppleAppBuilder.cs" />
|
||||
diff --git a/src/tasks/Crossgen2Tasks/Crossgen2Tasks.csproj b/src/tasks/Crossgen2Tasks/Crossgen2Tasks.csproj
|
||||
index fcd5b20ab2c..ddddfadb593 100644
|
||||
--- a/src/tasks/Crossgen2Tasks/Crossgen2Tasks.csproj
|
||||
+++ b/src/tasks/Crossgen2Tasks/Crossgen2Tasks.csproj
|
||||
@@ -9,11 +9,8 @@
|
||||
<NoWarn Condition="$(TargetFramework.StartsWith('net4'))">$(NoWarn),CS8604,CS8602</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
- <PackageReference Include="NuGet.ProjectModel" Version="$(RefOnlyNugetProjectModelVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
+ <PackageReference Include="NuGet.ProjectModel" Version="$(NugetProjectModelVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Microsoft.NET.CrossGen.targets">
|
||||
diff --git a/src/tasks/ILStripTask/ILStrip.csproj b/src/tasks/ILStripTask/ILStrip.csproj
|
||||
index bb9c41f692e..91b63a8c0a6 100644
|
||||
--- a/src/tasks/ILStripTask/ILStrip.csproj
|
||||
+++ b/src/tasks/ILStripTask/ILStrip.csproj
|
||||
@@ -8,10 +8,7 @@
|
||||
<RunAnalyzers>false</RunAnalyzers>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
<PackageReference Include="Microsoft.DotNet.CilStrip.Sources" Version="$(MicrosoftDotNetCilStripSourcesVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
diff --git a/src/tasks/JsonToItemsTaskFactory/JsonToItemsTaskFactory.csproj b/src/tasks/JsonToItemsTaskFactory/JsonToItemsTaskFactory.csproj
|
||||
index 17799fbf657..579682fd84f 100644
|
||||
--- a/src/tasks/JsonToItemsTaskFactory/JsonToItemsTaskFactory.csproj
|
||||
+++ b/src/tasks/JsonToItemsTaskFactory/JsonToItemsTaskFactory.csproj
|
||||
@@ -9,10 +9,7 @@
|
||||
<!-- NoWarn Condition="$(TargetFramework.StartsWith('net4'))">$(NoWarn),CS8604,CS8602</NoWarn -->
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)' == '$(TargetFrameworkForNETFrameworkTasks)'">
|
||||
diff --git a/src/tasks/RuntimeConfigParser/RuntimeConfigParser.csproj b/src/tasks/RuntimeConfigParser/RuntimeConfigParser.csproj
|
||||
index c07e367def6..074f89c415a 100644
|
||||
--- a/src/tasks/RuntimeConfigParser/RuntimeConfigParser.csproj
|
||||
+++ b/src/tasks/RuntimeConfigParser/RuntimeConfigParser.csproj
|
||||
@@ -10,10 +10,8 @@
|
||||
<NoWarn Condition="$(TargetFramework.StartsWith('net4'))">$(NoWarn),CS8604,CS8602</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)' == '$(TargetFrameworkForNETCoreTasks)'">
|
||||
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" />
|
||||
diff --git a/src/tasks/WasmAppBuilder/WasmAppBuilder.csproj b/src/tasks/WasmAppBuilder/WasmAppBuilder.csproj
|
||||
index 22a530b7de3..358de5541e3 100644
|
||||
--- a/src/tasks/WasmAppBuilder/WasmAppBuilder.csproj
|
||||
+++ b/src/tasks/WasmAppBuilder/WasmAppBuilder.csproj
|
||||
@@ -19,10 +19,7 @@
|
||||
<Compile Include="..\Common\LogAsErrorException.cs" />
|
||||
|
||||
<!-- Don't include the msbuild assemblies with the task -->
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" IncludeAssets="compile" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" IncludeAssets="compile" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" IncludeAssets="compile" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" IncludeAssets="compile" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" IncludeAssets="compile" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == '$(TargetFrameworkForNETCoreTasks)'">
|
||||
diff --git a/src/tasks/WasmBuildTasks/WasmBuildTasks.csproj b/src/tasks/WasmBuildTasks/WasmBuildTasks.csproj
|
||||
index 0f8b6c93993..fd88116ca0a 100644
|
||||
--- a/src/tasks/WasmBuildTasks/WasmBuildTasks.csproj
|
||||
+++ b/src/tasks/WasmBuildTasks/WasmBuildTasks.csproj
|
||||
@@ -6,10 +6,7 @@
|
||||
<NoWarn>$(NoWarn),CA1050</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PublishBuilder"
|
||||
diff --git a/src/tasks/WorkloadBuildTasks/WorkloadBuildTasks.csproj b/src/tasks/WorkloadBuildTasks/WorkloadBuildTasks.csproj
|
||||
index 537418ef31d..bec88895f4c 100644
|
||||
--- a/src/tasks/WorkloadBuildTasks/WorkloadBuildTasks.csproj
|
||||
+++ b/src/tasks/WorkloadBuildTasks/WorkloadBuildTasks.csproj
|
||||
@@ -8,10 +8,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Common\Utils.cs" />
|
||||
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(RefOnlyMicrosoftBuildUtilitiesCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PublishBuilder"
|
||||
diff --git a/src/tasks/installer.tasks/installer.tasks.csproj b/src/tasks/installer.tasks/installer.tasks.csproj
|
||||
index 45fe8463b5b..5cff57cdefb 100644
|
||||
--- a/src/tasks/installer.tasks/installer.tasks.csproj
|
||||
+++ b/src/tasks/installer.tasks/installer.tasks.csproj
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="$(MicrosoftExtensionsDependencyModelVersion)" />
|
||||
- <PackageReference Include="NuGet.ProjectModel" Version="$(RefOnlyNugetProjectModelVersion)" />
|
||||
+ <PackageReference Include="NuGet.ProjectModel" Version="$(NugetProjectModelVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == '$(TargetFrameworkForNETCoreTasks)'">
|
||||
- <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" />
|
||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net461'">
|
|
@ -1,191 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Eric Erhardt <eric.erhardt@microsoft.com>
|
||||
Date: Tue, 12 Oct 2021 19:40:56 +0000
|
||||
Subject: [PATCH 2/2] Eliminate usages of pre-built packages during
|
||||
source-build
|
||||
|
||||
* Don't build MSBuild tasks for netfx during source-build
|
||||
* Don't build Microsoft.Windows.Compatibility during source-build
|
||||
* Don't build test projects during source-build
|
||||
* Don't restore Microsoft.DiaSymReader.Native
|
||||
* Don't build source generators that target older Roslyn versions
|
||||
* Don't build ILStripTask since it uses a Mono.Cecil "sources" NuGet package that isn't part of source-build
|
||||
|
||||
See https://github.com/dotnet/source-build/issues/2421 for details.
|
||||
Backported to runtime with https://github.com/dotnet/runtime/pull/60315.
|
||||
---
|
||||
Directory.Build.props | 4 ++++
|
||||
eng/Subsets.props | 2 +-
|
||||
.../pkg/sfx/Microsoft.NETCore.App/Directory.Build.props | 2 +-
|
||||
.../src/Microsoft.Extensions.Logging.Abstractions.csproj | 3 ++-
|
||||
.../src/Microsoft.NETCore.Platforms.csproj | 4 ++--
|
||||
src/libraries/System.Text.Json/src/System.Text.Json.csproj | 3 ++-
|
||||
src/libraries/src.proj | 5 +++++
|
||||
src/tasks/Directory.Build.props | 3 +++
|
||||
src/tasks/installer.tasks/installer.tasks.csproj | 6 +++---
|
||||
src/tasks/tasks.proj | 5 +++++
|
||||
10 files changed, 28 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/Directory.Build.props b/Directory.Build.props
|
||||
index 58c7f876aea..c58a9d1a047 100644
|
||||
--- a/Directory.Build.props
|
||||
+++ b/Directory.Build.props
|
||||
@@ -52,6 +52,10 @@
|
||||
<NetCoreAppCurrentToolTargetFrameworkMoniker>$(NetCoreAppCurrentIdentifier),Version=v$(NetCoreAppToolCurrentVersion)</NetCoreAppCurrentToolTargetFrameworkMoniker>
|
||||
<MicrosoftNetCoreAppFrameworkName>Microsoft.NETCore.App</MicrosoftNetCoreAppFrameworkName>
|
||||
<NetCoreAppCurrentBrandName>.NET $(NetCoreAppCurrentVersion)</NetCoreAppCurrentBrandName>
|
||||
+
|
||||
+ <NetFrameworkToolCurrent>net472</NetFrameworkToolCurrent>
|
||||
+ <!-- Don't build for NETFramework during source-build. -->
|
||||
+ <NetFrameworkToolCurrent Condition="'$(DotNetBuildFromSource)' == 'true'"></NetFrameworkToolCurrent>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
diff --git a/eng/Subsets.props b/eng/Subsets.props
|
||||
index a7c5fb0e96e..b2292ac98e6 100644
|
||||
--- a/eng/Subsets.props
|
||||
+++ b/eng/Subsets.props
|
||||
@@ -72,7 +72,7 @@
|
||||
<DefaultHostSubsets Condition="'$(RuntimeFlavor)' != '$(PrimaryRuntimeFlavor)' and '$(TargetsMobile)' != 'true'">host.native</DefaultHostSubsets>
|
||||
|
||||
<DefaultPacksSubsets>packs.product</DefaultPacksSubsets>
|
||||
- <DefaultPacksSubsets Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'">$(DefaultPacksSubsets)+packs.tests</DefaultPacksSubsets>
|
||||
+ <DefaultPacksSubsets Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true' and '$(DotNetBuildFromSource)' != 'true'">$(DefaultPacksSubsets)+packs.tests</DefaultPacksSubsets>
|
||||
<DefaultPacksSubsets Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultPacksSubsets)+packs.installers</DefaultPacksSubsets>
|
||||
</PropertyGroup>
|
||||
|
||||
diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props b/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props
|
||||
index 15d09343b05..09069935a00 100644
|
||||
--- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props
|
||||
+++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props
|
||||
@@ -238,7 +238,7 @@
|
||||
<ExcludeFromClosure Include="@(NetFxReference)" />
|
||||
</ItemGroup>
|
||||
|
||||
- <ItemGroup>
|
||||
+ <ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true'">
|
||||
<!-- Add a reference to Microsoft.DiaSymReader.Native if one does not already exist. -->
|
||||
<PackageReference Include="Microsoft.DiaSymReader.Native"
|
||||
Exclude="@(PackageReference)"
|
||||
diff --git a/src/libraries/Microsoft.Extensions.Logging.Abstractions/src/Microsoft.Extensions.Logging.Abstractions.csproj b/src/libraries/Microsoft.Extensions.Logging.Abstractions/src/Microsoft.Extensions.Logging.Abstractions.csproj
|
||||
index 0d3728bcac0..c4c29046201 100644
|
||||
--- a/src/libraries/Microsoft.Extensions.Logging.Abstractions/src/Microsoft.Extensions.Logging.Abstractions.csproj
|
||||
+++ b/src/libraries/Microsoft.Extensions.Logging.Abstractions/src/Microsoft.Extensions.Logging.Abstractions.csproj
|
||||
@@ -36,7 +36,8 @@ Microsoft.Extensions.Logging.Abstractions.NullLogger</PackageDescription>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
- <AnalyzerReference Include="..\gen\Microsoft.Extensions.Logging.Generators.Roslyn3.11.csproj" />
|
||||
+ <AnalyzerReference Include="..\gen\Microsoft.Extensions.Logging.Generators.Roslyn3.11.csproj"
|
||||
+ Condition="'$(DotNetBuildFromSource)' != 'true'" />
|
||||
<AnalyzerReference Include="..\gen\Microsoft.Extensions.Logging.Generators.Roslyn4.0.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
diff --git a/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj b/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj
|
||||
index 4968a69f531..b941586e3d6 100644
|
||||
--- a/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj
|
||||
+++ b/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
- <TargetFrameworks>$(NetCoreAppToolCurrent);net472</TargetFrameworks>
|
||||
+ <TargetFrameworks>$(NetCoreAppToolCurrent);$(NetFrameworkToolCurrent)</TargetFrameworks>
|
||||
<!-- This project should not build against the live built .NETCoreApp targeting pack as it contributes to the build itself. -->
|
||||
<UseLocalTargetingRuntimePack>false</UseLocalTargetingRuntimePack>
|
||||
<PackageId>$(MSBuildProjectName)</PackageId>
|
||||
@@ -21,7 +21,7 @@
|
||||
<AdditionalRuntimeIdentifiers Condition="'$(DotNetBuildFromSource)' == 'true'">$(AdditionalRuntimeIdentifiers);$(OutputRID)</AdditionalRuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
|
||||
- <ItemGroup Condition="'$(TargetFramework)' == 'net472'">
|
||||
+ <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
|
||||
<Compile Include="BuildTask.Desktop.cs" />
|
||||
<Compile Include="AssemblyResolver.cs" />
|
||||
<Compile Include="$(CoreLibSharedDir)System\Diagnostics\CodeAnalysis\UnconditionalSuppressMessageAttribute.cs" />
|
||||
diff --git a/src/libraries/System.Text.Json/src/System.Text.Json.csproj b/src/libraries/System.Text.Json/src/System.Text.Json.csproj
|
||||
index 4b7f0bc75ce..bba18ce24ed 100644
|
||||
--- a/src/libraries/System.Text.Json/src/System.Text.Json.csproj
|
||||
+++ b/src/libraries/System.Text.Json/src/System.Text.Json.csproj
|
||||
@@ -351,7 +351,8 @@ System.Text.Json.Utf8JsonReader</PackageDescription>
|
||||
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Bcl.AsyncInterfaces\src\Microsoft.Bcl.AsyncInterfaces.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
- <AnalyzerReference Include="..\gen\System.Text.Json.SourceGeneration.Roslyn3.11.csproj" />
|
||||
+ <AnalyzerReference Include="..\gen\System.Text.Json.SourceGeneration.Roslyn3.11.csproj"
|
||||
+ Condition="'$(DotNetBuildFromSource)' != 'true'" />
|
||||
<AnalyzerReference Include="..\gen\System.Text.Json.SourceGeneration.Roslyn4.0.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
diff --git a/src/libraries/src.proj b/src/libraries/src.proj
|
||||
index 8b38ce5b449..4e0fea066f7 100644
|
||||
--- a/src/libraries/src.proj
|
||||
+++ b/src/libraries/src.proj
|
||||
@@ -14,6 +14,11 @@
|
||||
Microsoft.Windows.Compatibility\src\Microsoft.Windows.Compatibility.csproj"
|
||||
Condition="'$(BuildAllConfigurations)' != 'true'" />
|
||||
|
||||
+ <!-- These projects do not need to be built during source-build. -->
|
||||
+ <_allSrc Remove="Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj;
|
||||
+ Microsoft.Windows.Compatibility\src\Microsoft.Windows.Compatibility.csproj"
|
||||
+ Condition="'$(DotNetBuildFromSource)' == 'true'" />
|
||||
+
|
||||
<NonNetCoreAppProject Include="@(_allSrc)"
|
||||
Exclude="@(NetCoreAppLibrary->'%(Identity)\src\%(Identity).csproj');
|
||||
$(MSBuildThisFileDirectory)Microsoft.VisualBasic.Core\src\Microsoft.VisualBasic.Core.vbproj;
|
||||
diff --git a/src/tasks/Directory.Build.props b/src/tasks/Directory.Build.props
|
||||
index 695833da3db..859bedc8f33 100644
|
||||
--- a/src/tasks/Directory.Build.props
|
||||
+++ b/src/tasks/Directory.Build.props
|
||||
@@ -3,6 +3,9 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworkForNETFrameworkTasks>net472</TargetFrameworkForNETFrameworkTasks>
|
||||
+ <!-- Don't build for NETFramework during source-build. -->
|
||||
+ <TargetFrameworkForNETFrameworkTasks Condition="'$(DotNetBuildFromSource)' == 'true'"></TargetFrameworkForNETFrameworkTasks>
|
||||
+
|
||||
<TargetFrameworkForNETCoreTasks>net6.0</TargetFrameworkForNETCoreTasks>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
diff --git a/src/tasks/installer.tasks/installer.tasks.csproj b/src/tasks/installer.tasks/installer.tasks.csproj
|
||||
index 5cff57cdefb..98c370fdfed 100644
|
||||
--- a/src/tasks/installer.tasks/installer.tasks.csproj
|
||||
+++ b/src/tasks/installer.tasks/installer.tasks.csproj
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
- <TargetFrameworks>$(TargetFrameworkForNETCoreTasks);net461</TargetFrameworks>
|
||||
+ <TargetFrameworks>$(NetCoreAppToolCurrent);$(NetFrameworkToolCurrent)</TargetFrameworks>
|
||||
<IsShipping>false</IsShipping>
|
||||
<RunAnalyzers>false</RunAnalyzers>
|
||||
</PropertyGroup>
|
||||
@@ -10,12 +10,12 @@
|
||||
<PackageReference Include="NuGet.ProjectModel" Version="$(NugetProjectModelVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
- <ItemGroup Condition="'$(TargetFramework)' == '$(TargetFrameworkForNETCoreTasks)'">
|
||||
+ <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
|
||||
<PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" />
|
||||
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
- <ItemGroup Condition="'$(TargetFramework)' == 'net461'">
|
||||
+ <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
|
||||
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" />
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="Microsoft.Build.Utilities.v4.0" />
|
||||
diff --git a/src/tasks/tasks.proj b/src/tasks/tasks.proj
|
||||
index 9c62f8b76b9..03a049e1bf4 100644
|
||||
--- a/src/tasks/tasks.proj
|
||||
+++ b/src/tasks/tasks.proj
|
||||
@@ -1,6 +1,11 @@
|
||||
<Project Sdk="Microsoft.Build.Traversal">
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)**\*.csproj" />
|
||||
+
|
||||
+ <!-- These projects do not need to be built during source-build. -->
|
||||
+ <!-- For example, they may take dependencies on pre-built packages that aren't build-from-source. -->
|
||||
+ <ProjectReference Remove="ILStripTask\ILStrip.csproj"
|
||||
+ Condition="'$(DotNetBuildFromSource)' == 'true'" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
Loading…
Reference in a new issue