Error occurred in deployment step 'Add Solution': The default web application could not be determined. Set the SiteUrl property in feature xxx to the URL of the desired site and retry activation.Parameter name: properties.
I know you can set this manually in feature properties to a predefined url. But we have lots of different environments with different urls? Any ideas on how to solve this?
This is only a problem/required for Visual Studio deploys on certian developer environments, but if one developer sets an url manually it will fail for other environments as well.