0

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.json in 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 10 paths 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/obj folders.

Note that this issue appears after installing .NET 10 on my machine (but my .NET MAUI project is still in .NET 9)

3
  • Rider bugs and workarounds can be learned from youtrack.jetbrains.com/issues/RIDER Commented yesterday
  • I found a RIDER Issue for my problem : youtrack.jetbrains.com/issue/RIDER-132874/… I keep this topic to simplify the issue search. Commented yesterday
  • You can post and accept your own answer to point out that this is a bug of Rider and people should monitor that bug report for updates. I think that's how Stack Overflow can become useful for others. Commented yesterday

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.