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

"Tutorial: Build and deploy an unpackaged app that uses the Windows App SDK" does not work #3439

Open
pjc50 opened this issue Oct 28, 2021 · 2 comments
Assignees
Labels

Comments

@pjc50
Copy link

pjc50 commented Oct 28, 2021

Follow instructions at https://github.com/MicrosoftDocs/windows-uwp/blob/docs/hub/apps/windows-app-sdk/tutorial-unpackaged-deployment.md for preview3, including installing the runtime as administrator from https://download.microsoft.com/download/9/4/5/9457d37a-81d5-4ced-abd4-f31af75c6937/Microsoft.WindowsAppRuntime.Redist.1.0.0.zip

(it doesn't say it needs to be run as administrator, but if I don't I get "Provisioning result : 0x80070005")

On the line "Bootstrap.Initialize(0x00010000, "preview3");", hits an exception

System.Runtime.InteropServices.COMException
HResult=0x80070490
Message=Element not found.

This is not specific to preview3, I have not been able to get it to work with any of the preview versions. It is not clear what element is not found or where it might be looking for it.

@pjc50
Copy link
Author

pjc50 commented Oct 28, 2021

Also the links from this text in that document are broken:

"See the list of common error codes.
If the error code doesn't provide enough information, you can find more diagnostic information in the detailed event logs."

@masaito505
Copy link

masaito505 commented Nov 12, 2021

@pjc50
It looks we need the fix below. (Probably it is included in next Windows App SDK preview release?)
microsoft/WindowsAppSDK#1681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants