You are probably trying to install the application on your already installed computer. You may have installed it once during development and are now trying to install it either from another account or using a different deployment method.
There are several ways to fix this.
Best way: Uninstall an installed application, for example. using Powershell Remove-AppxPackage and specify the package, and then try reinstalling.
Another way: Change the name of the package in Package.appxmanifest of the application you are trying to install, compile and install again.
Example:
<Package ...> <Identity Name="5a0c511a-fdfd-4417-80b8-2bedbf437971" ...>
change to:
<Package ...> <Identity Name="5a0c511a-fdfd-4417-80b8-SomethingElse" ...>
source share