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

Registering layout with built appxmanifest.xml crashes app #2413

Closed
asklar opened this issue Apr 29, 2020 — with docs.microsoft.com · 4 comments
Closed

Registering layout with built appxmanifest.xml crashes app #2413

asklar opened this issue Apr 29, 2020 — with docs.microsoft.com · 4 comments
Assignees
Labels
deployment/tech doc-bug feedback is about something that is out of date, unclear, confusing, or broken in the article Pri2 uwp/prod

Comments

Copy link
Contributor

asklar commented Apr 29, 2020

C# UWP hello world type of app. If I do Add-AppxPackage -register and give it the path to the built appxmaniest.xml (not the one in the Appx layout folder), then the app installs but crashes on launch because it tries to use the full .net framework instead of .net core. Need more clear instructions on which AppXmanifest.xml file needs to be passed in.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@asklar asklar changed the title Registering layout with built appxmanifest.xml Registering layout with built appxmanifest.xml crashes app Apr 29, 2020
@hkhmsft hkhmsft added the doc-bug feedback is about something that is out of date, unclear, confusing, or broken in the article label May 1, 2020
Copy link
Contributor Author

asklar commented May 19, 2020

Fix is to follow the instructions in https://github.com/asklar/RegisterFromLayoutUWP.net

@Karl-Bridge-Microsoft
Copy link
Collaborator

Hi @asklar - this seems like a product issue rather than a documentation issue. Do you agree?

@asklar
Copy link
Contributor Author

asklar commented Jul 9, 2021

Hey Karl !
The doc page says to register with the appxmanifest.xml file, but there are several, so my request was to update the doc page to clarify which one to pass as a parameter (since passing the wrong one will crash the app)
CC @srdjanjovcic to keep me honest on the details

@Karl-Bridge-Microsoft
Copy link
Collaborator

Hi @asklar - Having another look at this and I'm not sure how to incorporate your instructions in https://github.com/asklar/RegisterFromLayoutUWP.net. They refer to a different topic (https://docs.microsoft.com/en-us/powershell/module/appx/add-appxpackage?view=win10-ps). Can you create a PR on https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/loose-file-registration with your specific updates?

QuinnRadich pushed a commit that referenced this issue Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment/tech doc-bug feedback is about something that is out of date, unclear, confusing, or broken in the article Pri2 uwp/prod
Projects
None yet
Development

No branches or pull requests

4 participants