I am writing a UWP app that I want to deploy to the store as a replacement to an existing Win 8.1 app.
The current app that is in the store has packages for Win Phone 7 and Win Phone 8.1 and I want to add a new UWP package for the Win 10 family.
After I run the "associate app with the store" and pick the specific package from my list of packages, I am no longer able to deploy the app to the mobile device. The app still deploys fine on my local Win 10 machine just not on mobile.
DEP0001 : Unexpected Error: -2147009287
The app runs fine on the phone if it's not associated to the package on the store so I don't think it's a framework / tools / versioning issue but here are all the versions:
[UPDATE]
According to your error code, I think you may have the same problem like Error DEP0001 : Unexpected Error: -2147009287 deploy Windows Phone Universal 10.
To fix this issue, you can try to uninstall the existing app form your mobile manually and then deploy the app again via Visual Studio.