Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

[Secure Input] How to create Appx package from Visual Studio #5

Open
hdmyt opened this issue May 15, 2017 · 3 comments
Open

[Secure Input] How to create Appx package from Visual Studio #5

hdmyt opened this issue May 15, 2017 · 3 comments

Comments

@hdmyt
Copy link

hdmyt commented May 15, 2017

I try to create Appx package from Visual studio, but Build FAILED.

From menu
PROJECT > Store > Create App Pakages
Select No and click Next at first and then click Create.
Build result failed.

The error message is shown below.

1>  C:\Program Files (x86)\Windows Kits\10\bin\x64\MakeAppx.exe pack /l /h sha256 /m D:\work\MicrosoftEdge-Extensions-Demos\SecureInput\NativeMessagingHostInProcess\bin\x86\Release\ilc\ForBundle\AppxManifest.xml /f obj\x86\Release\main.map.txt /o /p D:\work\MicrosoftEdge-Extensions-Demos\SecureInput\NativeMessagingHostInProcess\bin\x86\Release\NativeMessagingHostInProcess_1.0.2.0_x86.appx  
1>MakeAppx : error : Manifest validation error: Line 43, Column 64, Reason: The file name "PasswordInputProtection.exe" declared for element "*[local-name()='Applications']/*[local-name()='Application']/*[local-name()='Extensions']/*[local-name()='Extension' and not(@Category='windows.backgroundTasks' or @Category='windows.appService')]" doesn't exist in the package.
1>MakeAppx : error : Manifest validation error: Line 43, Column 64, Reason: The file name "PasswordInputProtection.exe" declared for element "*[local-name()='Applications']/*[local-name()='Application']/*[local-name()='Extensions']/*[local-name()='Extension' and @Category='windows.fullTrustProcess']" doesn't exist in the package.
1>MakeAppx : error : Package creation failed.
1>MakeAppx : error : 0x80080204 - The specified package format is not valid: The package manifest is not valid.
1>
1>Build FAILED.

main.map.txt (given as argument) does not contain Extension folder and PasswordInputProtection.exe,
so I think MakeAppx failed.
How to add Extension folder & PasswordInputProtection.exe to main.map.txt?

@luisduenas
Copy link

did you find any solution?

@anup-awasthi
Copy link

Did you find any solution? I am also facing same problem. I am on brink of submitting my extension to windows store but due to this error, I am now stuck.

@nvineeth
Copy link

You need to package as described here : https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-packaging-dot-net .
Simply adding the full trust process declaration to a project manifest will throw this error.

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

No branches or pull requests

4 participants