Another thing that might occur when trying to deploy your app on your local machine is the following error:
error APPX3104: You cannot create an app bundle when building for platform ‘x86’ which is not included in the list of platforms selected for producting app bundle. Set platform to a one of following values: arm.
Note that this error doesn’t occur when deploying directly for your ARM devices, such as your Microsoft Surface or your Windows Phone.
This happens due to an entry in your .vcxproj file which has most likely been created by Visual Studio 2013:
Removing that entry will allow you to deploy for all platforms again. In fact, this line won’t be present if you create a new Visual C++ DirectX Windows app from scratch in Visual Studio 2015 Preview.