Can't debug packaging project for unpackaged WinUI 3 app (DEP0800) #9386
Replies: 2 comments 14 replies
-
Have you updated the NuGet packages for the packaging project? You can see from this, the packaging project references 1.5. You really want to keep this in line with the application itself otherwise problems will occur. If you read the error message that you posted, it is telling you that the packaging project is trying to install 1.2 but there is a different version of 1.2 installed. With the way the Windows App SDK is versioned, the packaging project must be set to 1.5 if the application uses the Windows App SDK 1.5. |
Beta Was this translation helpful? Give feedback.
-
I think I am suffering the same problem, but not sure (much unix experience, not much windows).
When trying to install the MSIX for testing, I get the same failure: "package depends on a framework that could not be found". How did the MSIX build successfully without error when the dependency was missing? I understand that the MSIX is self contained, but maybe it's not? What stops end users being sent into dependency hell just installing a package? What I thought I understood and the behaviour before me don't match and I am lost. In my case, the properties look like this:
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I added a packaging project to my WinUI3 unpackaged app and set it as startup project (VS 2022/ Windows 11).
I can't debug and get this error (same error when I try to install the MsixBundle):
I also had another error:
I had all packages mentioned in the errors installed and uninstalled but the errors run in circle.
These are my appxpackages:
Is it a bug?
(The app runs flawlessly without a packaging project.)
Beta Was this translation helpful? Give feedback.
All reactions