Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/android-tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 08a69900df
Choose a base ref
...
head repository: dotnet/android-tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 21de3d731d
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 30, 2023

  1. [build] update $(MSBuildPackageReferenceVersion) to 17.6.3 (#221)

    Context: dotnet/android#8366
    
    dotnet/android#8366 is attempting to build xamarin-android
    against .NET 9 previews, and currently fails:
    
    	(Restore target) ->
    	tests/MSBuildDeviceIntegration/MSBuildDeviceIntegration.csproj : error NU1605: Warning As Error: Detected package downgrade: Microsoft.Build.Framework from 17.5.0 to 17.3.2. Reference the package directly from the project to select a different version.
    	tests/MSBuildDeviceIntegration/MSBuildDeviceIntegration.csproj : error NU1605:  MSBuildDeviceIntegration -> MSBuild.StructuredLogger 2.2.100 -> doh (>= 17.5.0)
    	tests/MSBuildDeviceIntegration/MSBuildDeviceIntegration.csproj : error NU1605:  MSBuildDeviceIntegration -> Microsoft.Build.Framework (>= 17.3.2)
    	tests/MSBuildDeviceIntegration/MSBuildDeviceIntegration.csproj : error NU1605: Warning As Error: Detected package downgrade: Microsoft.Build.Utilities.Core from 17.5.0 to 17.3.2. Reference the package directly from the project to select a different version.
    	tests/MSBuildDeviceIntegration/MSBuildDeviceIntegration.csproj : error NU1605:  MSBuildDeviceIntegration -> MSBuild.StructuredLogger 2.2.100 -> Microsoft.Build.Utilities.Core (>= 17.5.0)
    	tests/MSBuildDeviceIntegration/MSBuildDeviceIntegration.csproj : error NU1605:  MSBuildDeviceIntegration -> Microsoft.Build.Utilities.Core (>= 17.3.2)
    
    We need to update `MSBuild.StructuredLogger` package to be able to
    move to .NET 9, as the `.binlog` file format changed in .NET 9.
    The newer `MSBuild.StructuredLogger` package, in turn, requires a
    newer `Microsoft.Build.Framework` package version, which is
    controlled here.
    
    Update the `$(MSBuildPackageReferenceVersion)` MSBuild property so
    that (1) it can now be overridden, which would allow version updates
    in the future without requiring submodule updates, and (2) update the
    the default value to 17.6.3.  I fear that if we move to 17.8.3, we
    may potentially break other repos.
    
    VS 2022 17.6 is an LTS release that feels "safe", is new enough to solve
    the issue, and hopefully won't break anyone?
    
    Additionally, update the `System.Security.Cryptography.Xml` package
    so that it now uses an overridable
    `$(SystemSecurityCryptographyXmlVersion)` MSBuild property, which
    defaults to 7.0.1, in order to fix this build error:
    
    	src\Microsoft.Android.Build.BaseTasks\Microsoft.Android.Build.BaseTasks.csproj : error NU1605: Detected package downgrade: System.Security.Cryptography.Xml from 7.0.1 to 6.0.1. Reference the package directly from the project to select a different version.
    	src\Microsoft.Android.Build.BaseTasks\Microsoft.Android.Build.BaseTasks.csproj : error NU1605:  Microsoft.Android.Build.BaseTasks -> Microsoft.Build.Tasks.Core 17.6.3 -> System.Security.Cryptography.Xml (>= 7.0.1)
    	src\Microsoft.Android.Build.BaseTasks\Microsoft.Android.Build.BaseTasks.csproj : error NU1605:  Microsoft.Android.Build.BaseTasks -> System.Security.Cryptography.Xml (>= 6.0.1)
    	tests\Microsoft.Android.Build.BaseTasks-Tests\Microsoft.Android.Build.BaseTasks-Tests.csproj : error NU1605: Detected package downgrade: System.Security.Cryptography.Xml from 7.0.1 to 6.0.1. Reference the package directly from the project to select a different version.
    	tests\Microsoft.Android.Build.BaseTasks-Tests\Microsoft.Android.Build.BaseTasks-Tests.csproj : error NU1605:  Microsoft.Android.Build.BaseTasks-Tests -> Microsoft.Build.Tasks.Core 17.6.3 -> System.Security.Cryptography.Xml (>= 7.0.1)
    	tests\Microsoft.Android.Build.BaseTasks-Tests\Microsoft.Android.Build.BaseTasks-Tests.csproj : error NU1605:  Microsoft.Android.Build.BaseTasks-Tests -> System.Security.Cryptography.Xml (>= 6.0.1)
    jonathanpeppers authored Nov 30, 2023
    Configuration menu
    Copy the full SHA
    21de3d7 View commit details
    Browse the repository at this point in the history
Loading