Skip to content

Updating from 7.0.100 to 7.0.101 crashes msbuild on mac #30271

@mattleibow

Description

@mattleibow

Describe the bug

We were using 7.0.100-rtm.22519.39 to build maui, but when we updated to 7.0.101-servicing.22571.1 the mac builds crashed.

To Reproduce

  1. Use your mac
  2. Clone the PR: Try resolve the dotnet build crash on macos maui#12152
  3. Restore dotnet tools:
    dotnet tool restore
  4. Install a local dotnet
    dotnet cake --target=dotnet
  5. Use the local dotnet and build the msbuild tasks:
    bin/dotnet/dotnet build Microsoft.Maui.BuildTasks.slnf /target:Build /property:configuration=Debug /maxcpucount:1 /binarylogger:Microsoft.Maui.BuildTasks-mac-Debug-Build-dotnet.binlog
  6. Use the local dotnet and build the solution:
    bin/dotnet/dotnet build Microsoft.Maui-mac.slnf /target:Build /property:configuration=Debug /maxcpucount:1 /binarylogger:Microsoft.Maui-mac-Debug-Build-dotnet.binlog

I have also branches and devops builds:

There are other failures in the CI that are because I was trying to get a smaller repro without all the windows builds, but this always happens on mac in the "Build .NET MAUI" stage.

Exceptions (if any)

Further technical details

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions