Deploying a solution from visual studio 2010 to sharepoint foundation. The first time i deploy i get an error:
Error 10 Error occurred in deployment step 'Retract Solution': Feature 'c6c0e10a-3212-48dc-a2c3-6286e323d558' is not activated at this scope. 0 0 MarelSite
However if i deploy again everything is fine. Any ideas why it fails the first time and succeeds the second?
EDIT: The solution i have has two features one of which is dependent on the other. I was playing around and apparently this is being caused by the Feature Activation Dependency that i added between Feature 2 and Feature 1. When i remove it the problem goes away. Any ideas what i am doing wrong?