-
Notifications
You must be signed in to change notification settings - Fork 5k
Project with spaces (or other characters) doesn't build with NativeAOT on Android #115165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas |
Fixed by #112603 |
Ok, let me try a .NET 10 SDK. |
Console apps work on .NET 10, using: https://ci.dot.net/public/Sdk/10.0.100-preview.5.25224.4/dotnet-sdk-10.0.100-preview.5.25224.4-linux-x64.tar.gz Android apps still fail during the
Binlog: android-spaces.zip So, it might be something about using the Android NDK? |
|
Trying it out, here: dotnet/android@33b4e1b Will close if it works, thanks. |
Projects with spaces & other characters are working now. |
Uh oh!
There was an error while loading. Please reload this page.
Description
I noticed this while setting up some MSBuild integration tests for Android+NativeAOT:
But then, I found a simpler repro. In a Linux GitHub Codespace:
mkdir 'Test Me'
cd Test\ Me/
dotnet new console
dotnet publish -p:PublishAot=true -bl
Errors with:
This is pretty much exactly the same error we got targeting Android.
Reproduction Steps
See above.
Expected behavior
I can create console apps with spaces (or other odd characters) in the name, like
Test Me
.Actual behavior
I get a build error with a project named
Test Me
.Regression?
NativeAOT on Android is new, unsure if this worked previously on Linux.
Known Workarounds
Name your project
Test_Me
.Configuration
Other information
Binlog file: Test Me.zip
The text was updated successfully, but these errors were encountered: