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

MakeAppx : error : 0x80080215 #91

Open
apple-ouyang opened this issue Jun 3, 2021 · 3 comments
Open

MakeAppx : error : 0x80080215 #91

apple-ouyang opened this issue Jun 3, 2021 · 3 comments

Comments

@apple-ouyang
Copy link

I can deploy the solution, and my ditro runs well in my computer.
When I want to publish it, I have done those steps:

  1. I register a company account.
  2. I have filled the info in MyDitro.appxmanifest, and change the "mydistro" to "openEuler".
  3. I right click the "DistroLauncher-Appx" in the solution window, then "publiss", then "Create App packages ..."
  4. I finish filling info, then click "create", then a lot of errors and warning show up:
    Here is my full build output:
    Hoping someone can help me.
    Many thanks to you !

Build started...
1>------ Build started: Project: launcher, Configuration: Release x64 ------
1>Compiling Messages...
1>MC: Compiling D:\AQA\WorkShop\WSL\WSL-DistroLauncher\DistroLauncher\messages.mc
1>D:\IDE\VisualStuidio2019\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): warning MSB8065: Custom build for item "messages.mc" succeeded, but specified output "d:\aqa\workshop\wsl\wsl-distrolauncher\distrolauncher\msg0409.bin" has not been created. This may cause incremental build to work incorrectly.
1>stdafx.cpp
1>DistributionInfo.cpp
1>DistroLauncher.cpp
1>Helpers.cpp
1>WslApiLoader.cpp
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
1>Generating code
1>0 of 210 functions ( 0.0%) were compiled, the rest were copied from previous compilation.
1> 0 functions were new in current compilation
1> 0 functions had inline decision re-evaluated but remain unchanged
1>Finished generating code
1>DistroLauncher.vcxproj -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\launcher.exe
1>Done building project "DistroLauncher.vcxproj".
2>------ Build started: Project: DistroLauncher-Appx, Configuration: Release x64 ------
2>Copy D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\launcher.exe into D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\openEuler.exe
2>已复制 1 个文件。
2>D:\IDE\VisualStuidio2019\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): warning MSB8064: Custom build for item "openEuler" succeeded, but specified dependency "d:\aqa\workshop\wsl\wsl-distrolauncher\distrolauncher-appx\openeuler" does not exist. This may cause incremental build to work incorrectly.
2>D:\IDE\VisualStuidio2019\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): warning MSB8065: Custom build for item "openEuler" succeeded, but specified output "d:\aqa\workshop\wsl\wsl-distrolauncher\distrolauncher-appx\openeuler.exe" has not been created. This may cause incremental build to work incorrectly.
2>MyDistro.appxmanifest(14,6): warning APPX0006: This project uses the 'runFullTrust' capability. You should use the Windows Application Packaging Project to produce the store and sideload packages. See https://go.microsoft.com/fwlink/?linkid=871803 for more information.
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\DistroLauncher-Appx_1.0.3.0_x64.msix
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\DistroLauncher-Appx_1.0.3.0_scale-100.msix
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\DistroLauncher-Appx_1.0.3.0_scale-125.msix
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\DistroLauncher-Appx_1.0.3.0_scale-150.msix
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\DistroLauncher-Appx_1.0.3.0_scale-400.msix
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\Upload\DistroLauncher-Appx_1.0.3.0_scale-100.msix
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\Upload\DistroLauncher-Appx_1.0.3.0_scale-125.msix
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\Upload\DistroLauncher-Appx_1.0.3.0_scale-150.msix
2>DistroLauncher-Appx -> D:\AQA\WorkShop\WSL\WSL-DistroLauncher\x64\Release\DistroLauncher-Appx\Upload\DistroLauncher-Appx_1.0.3.0_scale-400.msix
2>MakeAppx : error : Error info: ??????
2>MakeAppx : error : Bundle creation failed.
2>MakeAppx : error : 0x80080215 - ????????????????? appx ????
2>Done building project "DistroLauncher-Appx.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Package: 0 succeeded, 1 failed ===========
========== App Bundle: 0 succeeded, 1 failed ===========

@CompSciDude1
Copy link

CompSciDude1 commented Mar 15, 2022

I get the same error when trying to build my custom Ubuntu 20.04 distro using the build.bat.

4>MakeAppx : error : 0x80080215 - Non appx extensions are not allowed for payload packages targeting older platforms.

@apple-ouyang
Copy link
Author

I solved the problem, but I did't remember what have I done. Sorry it was long time ago for me. Here is the repo I am using now, I changed a lot of placeses to get it work. Hope it will help you.

@CompSciDude1
Copy link

I think i figured out the issue. I searched the error message and came across a forum post describing a solution. I said I needed to set the <TargetDeviceFamily> to something greater than 10.0.17xxx. Retargeting the solution to use 10.0.19041 seemed to fix the error. Thanks, though!

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

No branches or pull requests

2 participants