The project doesn't know how to run the profile with name <Profile> and command 'Mobile' #19159
Labels
area/sdk
Categorizes an issue or PR as relevant to the Uno.Sdk
area/vswin
Categorizes an issue or PR as relevant to Visual Studio for Windows
difficulty/medium 🤔
Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
kind/bug
Something isn't working
project/core-tools 🛠️
Categorizes an issue or PR as relevant to core and tools
Current behavior
An error message is displayed when attempting to debug an Android project without a
net9.0-windows10.0.26100
target defined in itsTargetFrameworks
property group.Expected behavior
The Android target runs without any error message.
How to reproduce it (as minimally and precisely as possible)
Use this SLN:
https://github.com/DragonSpark/Framework/blob/1fdaffa7a96451f92a5753ef52a9892cf52619e6/The%20DragonSpark%20Framework.sln
And attempt to run the UnoApp1 in an Android emulator. You should see an error message like the following as a result:
Workaround
Set this line to
<TargetFrameworks>net9.0-desktop;net9.0-android;net9.0-maccatalyst;net9.0-windows10.0.26100;net9.0</TargetFrameworks>
Works on UWP/WinUI
None
Environment
Other
NuGet package version(s)
NA
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.12.3
Relevant plugins
NA
Anything else we need to know?
Thank you for your efforts out there. 🙏
The text was updated successfully, but these errors were encountered: