Skip to content
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

The project doesn't know how to run the profile with name <Profile> and command 'Mobile' #19159

Open
Mike-E-angelo opened this issue Jan 6, 2025 · 0 comments
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

Comments

@Mike-E-angelo
Copy link

Current behavior

An error message is displayed when attempting to debug an Android project without a net9.0-windows10.0.26100 target defined in its TargetFrameworks 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:

image

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. 🙏

@Mike-E-angelo Mike-E-angelo added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Jan 6, 2025
@MartinZikmund MartinZikmund added area/vswin Categorizes an issue or PR as relevant to Visual Studio for Windows project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants