Forum Discussion
e2bLou
Dec 13, 2022Copper Contributor
Error "Error in parsing the app package." when running .appinstaller from a folder.
Greetings, Bear with me as I am new to MSIX. I have an application that has one assembly and one winform exe application that uses the assembly. I added a MSIX installer project to the sol...
e2bLou
Dec 14, 2022Copper Contributor
I am running the .appinstaller directly from Windows Explorer simply by double clicking on it. It was created using the Windows Application Packaging Project in VS 2022. During publishing I am creating an App Package with Sideloading. I made sure not to use AnyCPU but specific CPU's to avoid that issue. The target version is Windows 10, version 2004(10.0; Build 19401) with a Minimum version of Windows 10, version 1903(10.0; Build 18362).
As I mentioned before if I set the start up project of the solution to this installer it runs fine in VS2022 in Debug mode. When I change to release, I build everything separately, and then I publish\build the backage for the installer. If it was a syntax error, I would think I would see it somewhere during this process... Also, I have a simple solution that is just a form with a label, and following the same steps as above, that installer works fine. The solution having issues is a WInform EXE and a custom assembly both of which are using NuGet packages..
As I mentioned before if I set the start up project of the solution to this installer it runs fine in VS2022 in Debug mode. When I change to release, I build everything separately, and then I publish\build the backage for the installer. If it was a syntax error, I would think I would see it somewhere during this process... Also, I have a simple solution that is just a form with a label, and following the same steps as above, that installer works fine. The solution having issues is a WInform EXE and a custom assembly both of which are using NuGet packages..
Dec 14, 2022
Yeah, I think AppInstaller needs 21H1 as the minimum. Try on a newer OS to confirm.