Package Error with MSIX File. Created my own app. Trying to install it to MS Store. Only 1 error.

%3CLINGO-SUB%20id%3D%22lingo-sub-1479924%22%20slang%3D%22en-US%22%3EPackage%20Error%20with%20MSIX%20File.%20Created%20my%20own%20app.%20Trying%20to%20install%20it%20to%20MS%20Store.%20Only%201%20error.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1479924%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20Can%20anyone%20help%20me%20fix%20this%20problem%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22package-title%20text-base%20ng-binding%22%3EMyPackageQuad_1.0.0.0_x64__wkffetrt8aq28.msix%3C%2FSPAN%3E%3CSPAN%20class%3D%22package-size%20ng-binding%22%3E8.3%20KB%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22row%22%3E%3CDIV%20class%3D%22col-xs-24%22%3E%3CDIV%3E%3CDIV%20class%3D%22alert%20alert-error%20reduced-string-length%20has-icon%22%3E%3CP%3EPackage%20acceptance%20validation%20error%3A%20The%20package%20MyPackageQuad_1.0.0.0_x64__wkffetrt8aq28.msix%20doesn't%20contain%20any%20Application%20elements%20in%20the%20app%20manifest%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20what%20I%20am%20doing%20wrong.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESBMSSOL%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1480504%22%20slang%3D%22en-US%22%3ERe%3A%20Package%20Error%20with%20MSIX%20File.%20Created%20my%20own%20app.%20Trying%20to%20install%20it%20to%20MS%20Store.%20Only%201%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1480504%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F702965%22%20target%3D%22_blank%22%3E%40SBMSSOL%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20error%20seems%20to%20indicate%20an%20issue%20with%20the%20AppXManifest.xml%20file%20that%20you%20must%20include%20at%20the%20root%20folder.%20The%20file%20has%20%22application%22%20elements%20and%20the%20error%20seems%20to%20say%20that%20it%20didn't%20find%20any.%26nbsp%3B%20These%20elements%20define%20entrypoints%2C%20such%20as%20the%20shortcuts%20(called%20visual%20elements%20in%20the%20schema).%20So%20it%20sounds%20like%20a%20syntax%20error.%3C%2FP%3E%0A%3CP%3EReference%20is%3A%26nbsp%3B%3CA%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fschemas%2Fappxpackage%2Fappx-package-manifest%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fschemas%2Fappxpackage%2Fappx-package-manifest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fschemas%2Fappxpackage%2Fappx-package-manifest%3C%2FFONT%3E%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EExample%20is%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fschemas%2Fappxpackage%2Fhow-to-create-a-basic-package-manifest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fschemas%2Fappxpackage%2Fhow-to-create-a-basic-package-manifest%3C%2FFONT%3E%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1481211%22%20slang%3D%22en-US%22%3ERe%3A%20Package%20Error%20with%20MSIX%20File.%20Created%20my%20own%20app.%20Trying%20to%20install%20it%20to%20MS%20Store.%20Only%201%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1481211%22%20slang%3D%22en-US%22%3E%3CP%3ETimothy%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20Thank%20you.%20I%20will%20look%20at%20this%20again.%20I%20know%20I%20have%20a%26nbsp%3B%3CSPAN%3EAppXManifest.xml%20in%20my%20solution%20and%20I%20see%20elements%20in%20it.%20Just%20got%20to%20find%20how%20to%20make%20sure%20package%20includes%20it%20in%20it%20I%20guess%3F%3F.%20I%20am%20new%20with%20this%20tool%2C%20so%20just%20learning%20how%20to%20use%20it.%20I%20appreciate%20this%20much.%20Sound%20like%20a%20small%20error%2C%20I%20just%20need%20to%20know%20what%20it%20means.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1481246%22%20slang%3D%22en-US%22%3ERe%3A%20Package%20Error%20with%20MSIX%20File.%20Created%20my%20own%20app.%20Trying%20to%20install%20it%20to%20MS%20Store.%20Only%201%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1481246%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F146612%22%20target%3D%22_blank%22%3E%40TIMOTHY%20MANGAN%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETimothy%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20I%20was%20wondering%20if%20I%20should%20name%20the%20file%20P%3CSPAN%3Eackage.appxmanifest%2C%20instead%20of%20appxmanifest%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1481259%22%20slang%3D%22en-US%22%3ERe%3A%20Package%20Error%20with%20MSIX%20File.%20Created%20my%20own%20app.%20Trying%20to%20install%20it%20to%20MS%20Store.%20Only%201%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1481259%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F702965%22%20target%3D%22_blank%22%3E%40SBMSSOL%3C%2FA%3E%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20must%20be%20AppxManifest.xml%20in%20the%20package.%20Possibly%20case%20doesn%E2%80%99t%20matter%2C%20but%20I%E2%80%99ve%20always%20seen%20it%20that%20way.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20I%20can't%20speak%20to%20whatever%20tooling%20you%20could%20be%20using%20that%20expects%20you%20to%20provide%20a%20different%20name%20and%20changes%20it%20into%20the%20form%20the%20package%20requires.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

    Can anyone help me fix this problem?

 

MyPackageQuad_1.0.0.0_x64__wkffetrt8aq28.msix8.3 KB

Package acceptance validation error: The package MyPackageQuad_1.0.0.0_x64__wkffetrt8aq28.msix doesn't contain any Application elements in the app manifest file.

 

I don't know what I am doing wrong.

 

Thanks,

 

SBMSSOL

4 Replies

@SBMSSOL 

 

The error seems to indicate an issue with the AppXManifest.xml file that you must include at the root folder. The file has "application" elements and the error seems to say that it didn't find any.  These elements define entrypoints, such as the shortcuts (called visual elements in the schema). So it sounds like a syntax error.

Reference is: https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/appx-package-manifest 

Example is: https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/how-to-create-a-basic-package-manifest

Timothy,

 

    Thank you. I will look at this again. I know I have a AppXManifest.xml in my solution and I see elements in it. Just got to find how to make sure package includes it in it I guess??. I am new with this tool, so just learning how to use it. I appreciate this much. Sound like a small error, I just need to know what it means.

@TIMOTHY MANGAN 

 

Timothy,

 

    I was wondering if I should name the file Package.appxmanifest, instead of appxmanifest?

 

@SBMSSOL  

It must be AppxManifest.xml in the package. Possibly case doesn’t matter, but I’ve always seen it that way.

 

However, I can't speak to whatever tooling you could be using that expects you to provide a different name and changes it into the form the package requires.