question

seihyungoh avatar image
0 Votes"
seihyungoh asked HuiLiu-MSFT commented

I got a runtime failure in packaging wpf app....

I'm testing packaging my wpf app to windows store.

[What I've tried]

  1. Added windows application packaging project.

  2. Added wpf app to packaging project (dependency setting) and these warnings:
    123234-ice-screenshot-20210814-202056.png

  3. build the solution

  4. publishing app=> following error message:
    There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Users\c0001\source\repos\WpfApp1\WpfApp1\bin\x86\Release\net5.0-windows\win-x86\WpfApp1.dll", "x86". This mismatch may cause runtime failures. 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.

what should I do to fix this error?

if somebody pick me my mistake, I'd be very appreciated.

thanks,
c00012


windows-wpfpartner-center-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@ seihyungoh . Your question is more related to packaging and publishing. I recommend that you could ask a new question in here .

0 Votes 0 ·

0 Answers