Hello, Welcome to Micorosoft Q&A,
Desktop Bridge on .NET 5 forces "self-contained mode"
Currently, Net5 clickonce package and self-contained are not flawless, you could find the related issue in Github here. For your scenario, we suggest you edit your WPF project target framework to .NET 5, and package it with Windows application package project. Then build UWP sideload package. Or use WinUI3 project templates to make Bank app, Packaged project directly.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.