Wednesday, March 16, 2016

SharePoint: The active deployment configuration 'Deploy App for SharePoint' cannot be located

Updated Visual Studio 2015 to Update 1 only to find out that my SharePoint add-in won't deploy.

The error message: The active deployment configuration 'Deploy App for SharePoint' cannot be located. Specify a valid deployment configuration in the Project Properties.

The message is fine. It tells you what to do. I guess, changing the property automatically is too much to ask.

The arrow for the property is grayed out in the Property window :-)



The Solution:
1. Right-click on your project in Solution Explorer
2. Select "SharePoint" and change the value to "...Add-in..." in the "Active Depl. Conf." drop-down