[AOT] Failure when the path to the temp folder contains accentuated characters and/or spaces
- Dominant language
- C#
- Stars
- 2.1k
- Forks
- 579
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 257
Description
### Android framework version
net8.0-android
### Affected platform version
8.0.11
### Description
On Windows, when building with AOT enabled, and the user home folder has an accentuated character and/or a space, the build fails with:
```
C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.145\targets\Microsoft.Android.Sdk.Aot.targets(109,5): Precompiling failed for E:\Net2022files\WinNavUno5\WinNavUno5\obj\Release\net8.0-android\android-x64\linked\_Microsoft.Android.Resource.Designer.dll with exit code 1.
The specified response file can not be read [E:\Net2022files\WinNavUno5\WinNavUno5\WinNavUno5.csproj]
```
### Steps to Reproduce
Build an app with AOT enabled, with a user folder with accentuated characters and/or spaces.
### Did you find any workaround?
Changing the user folder path to be without spaces and accentuated characters.
### Relevant log output
[binlog (14).zip](https://github.com/user-attachments/files/17802372/binlog.14.zip)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.