[release/7.0.1xx-preview5] Update dependencies from dotnet/msbuild#25668
Merged
dotnet-maestro[bot] merged 7 commits intorelease/7.0.1xx-preview5from Jun 1, 2022
Conversation
…0526.2 Microsoft.Build , Microsoft.Build.Localization From Version 17.3.0-preview-22263-02 -> To Version 17.3.0-preview-22276-02
…0527.1 Microsoft.Build , Microsoft.Build.Localization From Version 17.3.0-preview-22263-02 -> To Version 17.3.0-preview-22277-01
Contributor
|
@rainersigwald @Forgind it looks like this is failing some tests. Can you take a look? |
Contributor
To match MSBuild's update from dotnet/msbuild#7629. Also removed redundant version for System.Security.Cryptography.ProtectedData that caused downgrades.
For .NET Framework task builds, use the SCI+SRM 5.0 instead of 6, because 6 is not included in MSBuild 17.2 and lower's binding redirects. On new MSBuild, everything gets binding redirected to 6.0.0.0 and is fine. On older ones, the 1.x references from within HostModel get redirected to 5.0, but the references within the task assembly itself were 6.0 (because of references in this project). Both are loadable side-by-side in the .NET Framework model, but they are incompatible types. Instead, compile this assembly against 5.0 versions, and apply the manual binding redirect to 5.0 assemblies redistributed next to the task assembly via `TaskWithAssemblyResolveHooks`. Since the MSBuild packages now use 6.0, this requires some gymnastics: 1. explicitly reference the 6.0 packages in this project, so they can be annotated with `IncludeAssets="none"`. 2. download + explicitly reference the 5.0 packages _after_ RAR runs, to avoid the assembly-mismatch errors that RAR would generate. 3. explicitly copy SRM and SCI into the output folder.
Forgind
reviewed
May 31, 2022
| <NewtonsoftJsonVersion>$(NewtonsoftJsonPackageVersion)</NewtonsoftJsonVersion> | ||
| <SystemDiagnosticsFileVersionInfoVersion>4.0.0</SystemDiagnosticsFileVersionInfoVersion> | ||
| <SystemReflectionMetadataVersion>5.0.0</SystemReflectionMetadataVersion> | ||
| <SystemReflectionMetadataVersion>.0.0</SystemReflectionMetadataVersion> |
…view5-badb5788-f9ad-41f6-9c5a-ebd3a4d16e7a
…view5-badb5788-f9ad-41f6-9c5a-ebd3a4d16e7a
benvillalobos
approved these changes
Jun 1, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the following dependencies
From https://github.com/dotnet/msbuild