Emit warning for use of $(AotAssemblies)
in .NET 7
#7297
Labels
Area: App+Library Build
Issues when building Library projects or Application projects.
enhancement
Proposed change to current functionality.
Milestone
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
.NET 7+
Description
Context: #7295
The way we support
$(AotAssemblies)
requires us to know the names of packs in the Mono workload.Let's drop support for
$(AotAssemblies)
and use the new$(RunAOTCompilation)
property instead.We can begin by emitting a warning in .NET 7.
Steps to Reproduce
dotnet new android
dotnet build -c Release -p:AotAssemblies=true
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: