You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can deploy the solution, and my ditro runs well in my computer.
When I want to publish it, I have done those steps:
I register a company account.
I have filled the info in MyDitro.appxmanifest, and change the "mydistro" to "openEuler".
I right click the "DistroLauncher-Appx" in the solution window, then "publiss", then "Create App packages ..."
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 ===========
The text was updated successfully, but these errors were encountered:
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.
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!
I can deploy the solution, and my ditro runs well in my computer.
When I want to publish it, I have done those steps:
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 ===========
The text was updated successfully, but these errors were encountered: