Error when running MyFirstMauiApp saying "Optimizing assemblies for size failed" in vscode. #22449
Labels
area-publishing
Issues with the app packaging/publishing process (ipk/apk/msix/trimming)
s/needs-info
Issue needs more info from the author
I cannot execute the C# MAUI example programme from this URL: https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/run.
An error message will show stating that "Optimising assemblies for size failed." You can stop optimisation by setting the PublishTrimmed attribute to false. [/Users/...../MyFirstMauiApp/MyFirstMauiApp.csproj::TargetFramework=net8.0- maccatalyst]"
Please let me know how to repair it.
Thank you!
The text was updated successfully, but these errors were encountered: