I'm testing packaging my wpf app to windows store.
[What I've tried]
Added windows application packaging project.
Added wpf app to packaging project (dependency setting) and these warnings:

build the solution
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