Skip to content
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

Bump xamarin-android-tools from bde49e6 to 4889bf0. #8545

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

jpobst
Copy link
Contributor

@jpobst jpobst commented Nov 29, 2023

Bump xamarin-android-tools from bde49e6 to 4889bf0.

With dotnet/android-tools#220, we now need to set $(_IncludeMicrosoftBuildPackage) for projects that need a Microsoft.Build reference.

This bump fixes 226 CI reported warnings (390 -> 164).

@jonathanpeppers
Copy link
Member

@jpobst would you want to update this one to use xamarin-android-tools/main now?

@jpobst jpobst force-pushed the microsoft-build-xat-test branch from d08b398 to f818ef5 Compare November 30, 2023 17:24
@jpobst jpobst changed the title Test XAT #220. Bump xamarin-android-tools from bde49e6 to 4889bf0. Nov 30, 2023
@jonathanpeppers
Copy link
Member

You probably also need:

@jpobst jpobst force-pushed the microsoft-build-xat-test branch 5 times, most recently from bd4e3a6 to af32ad8 Compare November 30, 2023 20:16
@jonathanpeppers
Copy link
Member

@jpobst can you rebase after we got 8fa5d99 in? I think yours here also is using 1 newer commit on xamarin-android-tools, which is good. 👍

@jpobst jpobst force-pushed the microsoft-build-xat-test branch from af32ad8 to a5469cb Compare December 4, 2023 21:41
@jpobst jpobst marked this pull request as ready for review December 5, 2023 17:31
@jpobst jpobst merged commit 117b98f into main Dec 5, 2023
45 of 47 checks passed
@jpobst jpobst deleted the microsoft-build-xat-test branch December 5, 2023 17:54
grendello added a commit that referenced this pull request Dec 5, 2023
* main:
  [build] push .NET 9 packages using `dnceng-dotnet9` (#8560)
  Bump `xamarin-android-tools` from `bde49e6` to `4889bf0`. (#8545)
  Localized file check-in by OneLocBuild Task (#8561)
jpobst added a commit that referenced this pull request Dec 6, 2023
Context: dotnet/android-tools#220
Context: #8545

We added the ability for consumers of MSBuild NuGet packages to not add the `Microsoft.Build` package to their project.  One project that currently still requires `Microsoft.Build` is `Xamarin.Android.BootstrapTasks`.  

However the only thing that uses `Microsoft.Build` is `TimingLogger` which produced a build performance report for our old Jenkins build system.  As we no longer use Jenkins or this code, removing it allows us to remove the `Microsoft.Build` dependency.

Removes warnings:

```
C:\a\_work\1\s\build-tools\Xamarin.Android.Tools.BootstrapTasks\Xamarin.Android.Tools.BootstrapTasks.csproj : warning NU1701: Package 'Microsoft.Build 17.8.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. [C:\a\_work\1\s\Xamarin.Android.BootstrapTasks.sln]
C:\a\_work\1\s\build-tools\Xamarin.Android.Tools.BootstrapTasks\Xamarin.Android.Tools.BootstrapTasks.csproj : warning NU1701: Package 'Microsoft.IO.Redist 6.0.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. [C:\a\_work\1\s\Xamarin.Android.BootstrapTasks.sln]
```

This reduces the number of CI reported warnings from 166 to 56.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants