I am attempting to create an MSIX package for a .NET Core 3.1 WPF app.
I get the following error: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference
Part of the error message includes: Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
I have tried changing the targeted processor in both the Configuration Manager and the Publish - Create Package wizard but cannot seem to get past the error.
Cant find a similar error when searching and there is no error code.