Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Selecting 'WinAppSdk Unpackaged' from the targets dropdown automatically defaults to 'WinAppSdk Packaged' #19410

Open
erikvilima opened this issue Jan 31, 2025 · 4 comments
Labels
area/external Categorizes an issue or PR as being external to the Uno

Comments

@erikvilima
Copy link

Current behavior

From a newly created app using the Wizard + blank template:

Recording.2025-01-31.140013.mp4

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

Uno.Sdk: 5.6.20

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@erikvilima erikvilima 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 31, 2025
@jeromelaban
Copy link
Member

@jeromelaban jeromelaban added area/external Categorizes an issue or PR as being external to the Uno and removed kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Feb 4, 2025
@agneszitte
Copy link
Contributor

agneszitte commented Feb 10, 2025

Workaround mentioned by @dr1rrb in duplicate #762:
In the project .csproj, replace:

<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst;net9.0-windows10.0.26100;net9.0-browserwasm;net9.0-desktop</TargetFrameworks>

by

<TargetFramework>net9.0-windows10.0.26100</TargetFramework>

to be able to select WinAppSdk Unpackaged and test it, until this issue is fixed on the VS team side.

@Darsh0307
Copy link
Contributor

Darsh0307 commented Feb 12, 2025

@agneszitte @jeromelaban @dr1rrb

After replacing the target framework in .csproj as mentioned in this comment #19410 (comment)

I am able to run the app when having WinApp sdk Unpackagedas the debugging target. But there are some errors shoiwng when debugging. If we click on yes then it successfully opens the app and even the HR also works as expected. I did already opened a issue on our side for this error https://github.com/unoplatform/private/issues/652

Image

@jeromelaban
Copy link
Member

Indeed, this is unrelated to this specific issue. VS 17.14 may be causing additional issues.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area/external Categorizes an issue or PR as being external to the Uno
Projects
None yet
Development

No branches or pull requests

4 participants