I get the following error sometimes when deploying a SharePoint 2010 solution via Visual Studio 2010:
Error occurred in deployment step 'Activate Features': A timeout has occurred while invoking commands in SharePoint host process.
It's true -- it's taking a long time because we do a lot of work in the feature receiver. But This is not an error; I would just like Visual Studio to wait longer. Is there a place I can configure the amount of time to wait before timing out?
ChannelOperationTimeout
http://msdn.microsoft.com/en-us/library/ee471440.aspx
Do not forget to restart Visual Studio