I have been trying to deploy my WPF app, I created a Setup Project using the Setup Wizard.The only Project Output I added was Primary. After building this and installing the
Cleaning and rebuilding the project was not effective for me.
You can try to delete bin Directory then rebuild, I solved my problem by this way.