Skip to content

[.NET 8] perf regression in <LinkAssembliesNoShrink/> #7684

@jonathanpeppers

Description

@jonathanpeppers

Android application type

Android for .NET (net6.0-android, etc.)

Affected platform version

.NET 8 / main

Description

In .NET 7, in an old log I see:

image

This was an example of a .xaml change in a dotnet new maui project.

Now I see:

image

dotnet trace shows most of the time is:

image

So I think we might need to rework parts of dc3ccf2, maybe it can skip some things on incremental builds?

Less log messages would also help:

image

Steps to Reproduce

  1. dotnet new maui
  2. build
  3. change .xaml
  4. build again

Did you find any workaround?

Set $(AndroidUseDesignerAssembly) to false, would skip some of these steps.

Relevant log output

msbuild.zip

Metadata

Metadata

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions