While deploying a SharePoint-hosted (or any other kind I have tried so far) app, I keep getting the error in the title. I have looked at this post ( http://social.msdn.microsoft.com/Forums/fil-PH/sharepointdevelopment/thread/6616e78b-d848-4ba2-94d8-ed30e66b648 ), but is doesn't help me since I am not doing Office 365 dev. I need it to deploy to an on premises SharePoint Server (standalone dev machine).
I also made sure the sharepoint compenents were installed: http://www.microsoft.com/en-us/download/details.aspx?id=30355
I can deploy through the UI of the developer site, but not through VS hosted on a separate Win 7 machine.
It can successfully uninstall the app, if I had deployed it previously (via the UI) but always give this error next:
------ Build started: Project: SignUpApp2013, Configuration: Debug Any CPU ------
Successfully created package at: C:\Users\andr7103\Documents\Visual Studio 2012\Projects\SignUpApp2013\bin\Debug\SignUpApp2013.app
------ Deploy started: Project: SignUpApp2013, Configuration: Debug Any CPU ------
Active Deployment Configuration: Deploy App for SharePoint
Uninstall app for SharePoint:
Retraction is in progress (00:00:00)
Retraction is in progress (00:00:01)
Successfully uninstalled the app for SharePoint.
Install app for SharePoint:
Uploading the app for SharePoint...
Error occurred in deployment step 'Install app for SharePoint': Method "LoadApp" does not exist.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========