Skip to content

AOT fails on テスト.dll #6685

@jonathanpeppers

Description

@jonathanpeppers

Android application type

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

Affected platform version

xamarin-android/main

Description

If I add proj.AotAssemblies = true; to this test, it fails:

https://github.com/xamarin/xamarin-android/blob/ce0d212e85f5710ebcfd68533221cead76bda5ec/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest.cs#L123-L134

C:\src\xamarin-android\bin\Debug\lib\xamarin.android\xbuild\Xamarin\Android\Xamarin.Android.Legacy.targets(692,5): error XA3001: Could not AOT the assembly: テスト.dll [C:\src\xamarin-android\bin\TestDebug\temp\SmokeTestBuildWithSpecialCharactersFalse\テスト\テスト.csproj]

Steps to Reproduce

  1. Create a Xamarin.Android or .NET 6 project named テスト
  2. Build with -p:Configuration=Release -p:AotAssemblies=true

Did you find any workaround?

Probably rename the assembly?

Relevant log output

No response

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