Windows cannot register the package %1 because the specified value from the DeploymentOptions enumeration is DevelopmentMode. ...

Windows cannot register the package %1 because the specified value from the DeploymentOptions enumeration is DevelopmentMode. DevelopmentMode is not allowed when registering framework or resource packages. If this is meant to be an app package, remove the framework or resource attribute from the properties element in the AppXManifest.xml. Otherwise, do not specify DevelopmentMode.