Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Same error but I have a diffrent version of the assembly.
 

Same error but I have a diffrent version of the assembly.

Not sure what the problem is with mine I used Reflections to manually load the Assembly and get the version, mine reported this as the full name : "Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

I replaced that string and it still didn't work.

I just down loaded loaded the package tonight.

Why is it trying to load a VB template when I'm creatiing a C# project?

Here is my stack trace:

Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe BindingRecipe. Error was: Action FoundationalModuleRefVB failed to execute:
Cannot find registration information for template "C:\Program Files (x86)\Microsoft Smart Client Factory April 2008\Guidance Package\Templates\Projects\Module.VB\ModuleHandle.vstemplate". Package templates may not be properly registered. Run package installation again and verify template name and location..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.InvalidOperationException: Cannot find registration information for template "C:\Program Files (x86)\Microsoft Smart Client Factory April 2008\Guidance Package\Templates\Projects\Module.VB\ModuleHandle.vstemplate". Package templates may not be properly registered. Run package installation again and verify template name and location.
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.GetTemplateRegistryData(String templateFileName)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.Microsoft.Practices.RecipeFramework.VisualStudio.Common.IVsTemplatesService.GetTemplate(String templateFileName)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.TemplateReference.OnSited()
at Microsoft.Practices.RecipeFramework.AssetReference.set_Site(ISite value)
at System.ComponentModel.Container.Add(IComponent component, String name)
at Microsoft.Practices.RecipeFramework.Services.AssetReferenceService.Add(IComponent component, String name)
at System.ComponentModel.Container.Add(IComponent component)
at Microsoft.Practices.RecipeFramework.Services.AssetReferenceService.Add(IAssetReference reference, IDictionary initialState, Boolean throwIfDuplicate)
at Microsoft.Practices.RecipeFramework.Services.AssetReferenceService.Add(IAssetReference reference, IDictionary initialState)
at Microsoft.Practices.RecipeFramework.Services.AssetReferenceService.Add(IAssetReference reference)
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.VisualStudio.Templates.UnfoldTemplate.LoadPackage()
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)

Alexander Wykel  Sunday, April 13, 2008 3:42 AM
Hi Andrew,

This seems like a bug in the Smart Client Software Factory, please post it to their forums on codeplex. If you don't get a response from them, ping me again and I will contact that team directly.

thanks,
-Victor.
vga  Friday, April 25, 2008 4:07 PM
Hi Andrew,

This seems like a bug in the Smart Client Software Factory, please post it to their forums on codeplex. If you don't get a response from them, ping me again and I will contact that team directly.

thanks,
-Victor.
vga  Friday, April 25, 2008 4:07 PM

You can use google to search for other answers

Custom Search

More Threads

• Combobox in a wizard
• How to generate code for a method in an existing class using T4 Template
• Changes to the ProjectName from a Wizard is ignored
• Guidance Automation Kit installation issues
• Change location solution is unfolded to
• Deploying Guidance Package
• Add website As http://localhost/sitename
• Update guidance already installed
• GAX/GAT for VS 2005-2008 default templates removed
• Guidance Automation Toolkit July 2007 Bug