In case you have started SharePoint 2013 Apps Development and you use remote deployment (How to Deploy Apps Remotely to the Office 365 Preview) , you might experience a following error when you click "Deploy":
Error occurred in deployment step 'Install App for SharePoint': packagePath
To resolve the issue:
Make sure that project name and package name are the same.
Clean the project after renaming, and then deploy
Explanation:
Deploy triggers some MS Build actions and one of them at one point is trying to find a package name based on the project name in the folder: bin\[Release\Publish]\app.publish
But since you package has a different name than the project, the action couldn't find a package to deploy.
I would prefer to have more descriptive error in VS with the specific path though....Now, after we discover the reason of failure behind , it's much clearer what "Error occurred in deployment step 'Install App for SharePoint': packagePath" means.
evidedo???????
ReplyDelete$Y%$^%$&^%&^&*&*
If persist, switch the Active configuration of the Solution to DEBUG.
ReplyDelete