ActionExecutionException: An exception occurred during the binding of reference or execution of recipe BindingRecipe

Topics: July and December Releases Forum
Mar 21, 2007 at 10:20 PM
Upon opening a solution which utilizes the WCF Guidance Package I enabled the WCF Guidance package using Enable and Disable Packages form in the Guidance Package Manager. Upon enabling I received the following error message - Please help! and thanks...:

NOTE: The WCF guidance package builds and registers successfully. Registration has been confirmed by checking registry entries.

Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe BindingRecipe. Error was: Action CodeAnalysisSemanticRulesRef failed to execute:

Could not load type 'Microsoft.Practices.RecipeFramework.Extensions.References.VisualStudio.AnyProjectReference' from assembly 'Microsoft.Practices.RecipeFramework.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'..

You can remove the reference to this recipe through the Guidance Package Manager. ---> System.TypeLoadException: Could not load type 'Microsoft.Practices.RecipeFramework.Extensions.References.VisualStudio.AnyProjectReference' from assembly 'Microsoft.Practices.RecipeFramework.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

at System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)

at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)

at Microsoft.Practices.Common.Services.AliasResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)

at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError)

at Microsoft.Practices.RecipeFramework.Library.Actions.CreateUnboundReferenceAction.Execute()

at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary`2 inputValues)

at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)

at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary`2 declaredActions, XmlElement coordinationData)

at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)

--- End of inner exception stack trace ---

at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)

at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)

at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)

at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)

at Microsoft.Practices.RecipeFramework.RecipeManager.Add(IComponent component, String name)

at System.ComponentModel.Container.Add(IComponent component)

at Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(XmlReader configuration)

at Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(String packageName)

at Microsoft.Practices.RecipeFramework.PackageManagement.EnableDisablePackages.OnOkClick(Object sender, EventArgs e)