I'm trying to debug and run a .NET MAUI Android app targeting .NET 9 in JetBrains Rider (2025.1.3).
- SDKs installed:
9.0.308 [C:\Program Files\dotnet\sdk]
10.0.100 [C:\Program Files\dotnet\sdk]
- Workloads installed for .NET 9:
[android] 35.0.105/9.0.100
[ios] 26.0.9769/9.0.100
[maccatalyst] 26.0.9769/9.0.100
[maui-windows] 9.0.111/9.0.100
global.jsonin solution:
{
"sdk": {
"version": "9.0.308",
"rollForward": "disable",
"allowPrerelease": true
}
}
- Build works correctly and generates the APK in
bin\Debug\net9.0-android\android-arm64\.
However, in Rider, when I try to Run or Debug, targeting either the simulator or a physical device (Pixel 6 Pro), I get:
Error running "APPNAME"
Application APK file path is not found
Additional observations:
- Even after cleaning caches and invalidating Rider caches, the issue persists.
- The Rider Android Run/Debug configuration does not allow changing the Target Framework.
- Rider seems to reference
.NET 10paths during the build output even though the project is targeting .NET 9:
Build target "_Sign" uses files from C:\Program Files\dotnet\sdk\10.0.100\...
I've tried:
- Reinstalling .NET 9 SDK and workloads.
- Cleaning
bin/objfolders.
Note that this issue appears after installing .NET 10 on my machine (but my .NET MAUI project is still in .NET 9)