-
Hello, It worked well with a basic MAUI app (I created a New project MAUI App on VS 2022) But my situation is completely different, I have other projects. So I added a new project in my solution "MAUI Class Library"
and called it on the click method in the basic MAUI app : (
Then I tried to package it with the command line powershell : My question is : Has anyone ever managed to make a msix installer with the default MAUI App + a MAUI Class Library linked to the app ? And if yes can I have a tutorial please ? I also tried the Method with right click > Publish but it doesn't work either. (sorry English is not my native language) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Someone found it touching projects randomly !! |
Beta Was this translation helpful? Give feedback.
Someone found it touching projects randomly !!
To publish an MAUI app with more than the App (example, a class library), you need to remove all pdb files from the projects : right click on the projects except the app > Properties > Build > Last menu : Debug symbols : No symbols are emitted. (And I removed in the csproj the debug lines and keeped the release lines).
Then it works.