Recipe Framework Error - No element is selected in the solution explorer

Topics: Service Factory Modeling Edition Forum
Oct 14, 2009 at 10:04 PM

Hey all,

I have a solution that I needed to move in the directory structure for source control reasons.  When I copied/pasted the entire solution directory and opened the solution, I got the following error in the VS IDE (2008).  Anyone ever seen this?  There is very little on google about it.

System.InvalidOperationException: No element is selected in the solution explorer.
   at Microsoft.Practices.RecipeFramework.VisualStudio.Library.DteHelper.GetTarget(_DTE vs)
   at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.GetTarget()
   at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnQueryStatus()
   at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.OnBeforeQueryStatus(Object sender, EventArgs eventArgs)



Oct 14, 2009 at 10:48 PM

You can try disabling the WSSF guidance packge, reopen the solution and enabling it back using the Guidance Package Manager.

Oct 15, 2009 at 2:33 PM

That worked.  Thanks for the tip.  I really appreciate it.