index > Visual Studio Guidance Automation Toolkit > Smart Client Software Factory (Recipe Framework Error) during Ena...

Smart Client Software Factory (Recipe Framework Error) during Ena...

Microsoft.Practices.RecipeFramework.RecipeFrameworkException: Unexpected error loading template file name C:\Program Files\Microsoft SCSF\GuidancePkg\Bin\Templates\Items\ServiceAgent\ServiceAgent.vstemplate. Make sure that the template is well formed and try again. ---> System.ArgumentException: The template does not have the correct WizardExtension data.
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.TemplateMetaData.ReadTemplate()
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.TemplateMetaData.ReadTemplate()
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.TemplateMetaData..ctor(String templateFileName, CommandID command, String packageName)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.Microsoft.Practices.RecipeFramework.VisualStudio.Common.IVsTemplatesService.GetTemplate(String templateFileName)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.GetTemplate(String templateFile, ArrayList templates, GuidancePackage guidancePackage)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.GetTemplates(String directory, ArrayList templates, GuidancePackage guidancePackage)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.PopulateTemplates(String basePath, ArrayList templates, GuidancePackage guidancePackage)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.Microsoft.Practices.RecipeFramework.VisualStudio.Common.IVsTemplatesService.GetHostAssets(String basePath)
at Microsoft.Practices.RecipeFramework.VisualStudio.SolutionPackagesContainer.GetHostAssets(String packagePath, GuidancePackage packageConfiguration)
at Microsoft.Practices.RecipeFramework.PackageManagement.PackageViewer.OnLoad(EventArgs e)
Ggreg
Templates need to have a specific WizardExtension element in order to be usable in GAT. The element must contain the following data:

<VSTemplate Version="2.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
....
</TemplateData>
<TemplateContent>
....
</TemplateContent>
<WizardExtension>
<Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.0.60429.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly> <FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName>
</WizardExtension>
</VSTemplate>


HTH


Daniel Cazzulino [Solutions Architect MVP]
kzu
reply 2

You can use google to search for other answers

 

More Articles

• Solution Folder Name
• Slow loading Guidance Navigator
• GAT Custom Directive Processor
• Unable to install GAX June CTP - States Visual Studio 8.0 is not ...
• web project template, to fire code in gac class.
• Where can I get December 2005 version now?
• Microsoft.Jet.OLEDB.4.0
• Custom UnfoldTemplate
• T4 templates editor?
• new to GAT
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Issue passing input parameters to actions
• Smart Client Software Factory (Recipe Fr
• Error while unfolding template with empt
• TechEd Hands On Lab 2005 - Exercise 2 -
• Alter Name of Solution
• Using IAssetReferenceService
• Uninstall Failure
• RegexMatchStringConverter
• NotImplementedException on OnComponentCh
• How to add Visual studio data source wiz
• How to get SysListView32 of hiding objec
• classname value
• Using FileNameEditor as a Value Editor
• Bullet points for building a guidance au
• Is there a way to use the T3 engine as a

Hot Articles

• HoL Registration failed
• Tom, I see what has been keeping you bus
• enable GAT for existing projects
• Using IAssetReferenceService
• Execute Action when content of Combobox
• Debugging your packages.
• Newbie Problem
• Where is the Recipe History stored?
• GAT Wrapper
• Error install GAX
• How to gather data without wizard
• Installation error
• How does one set a default value?
• Access Denied (On Windows XP SP2)
• Loosing Item Template Information

Recommend Articles

• How to Create Web Service Agent ?
• Extending Designer Toolbox
• Nested Solution Folder Parent?
• Set version for Guidance Package
• T3 template engine
• Error Installing to RTM Version of VS2005
• June 2006 CTP and Hands On Lab
• Is there a way to use the T3 engine as a
• How to get SysListView32 of hiding objec
• Cant' install "Guidance Automation
• How to execute actions after solution te
• Referencing a generic class with a t4 te
• Cannot install GAX/GAT June 2006 CTP
• Can you build a guidance package in VB?
• Error while unfolding template with empt