This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
Open
Description
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?
Metadata
Assignees
Labels
No labels