I'm trying to make the most simple GAT project. When I try to register the project, I get the following exception:
Microsoft.Practices.RecipeFramework.RecipeFrameworkException: The project factory Library is not registered, template C:\Documents and Settings\MYeager\My Documents\Visual Studio 2005\Projects\MilosTestGuidancePackage\MilosTestGuidancePackage\bin\Debug\Templates\Solutions\Projects\_ExternalReferences\_ExternalReferences.vstemplate cannot be installed.
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.RegisterTemplates(String basePath, GuidancePackage guidancePackage)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.RegisterTemplates(GuidancePackageRegContext context, Boolean register)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.RegisterPackage(InstallContext installContext, Boolean register, GuidancePackage packageConfig)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.Microsoft.Practices.RecipeFramework.IHostInstaller.InstallPackage(InstallContext context, GuidancePackage packageConfig)
at Microsoft.Practices.RecipeFramework.ManifestInstaller.InstallPackage(String configuration)
at Microsoft.Practices.RecipeFramework.ManifestInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.TransactedInstaller.Install(IDictionary savedState)
The Rollback phase of the installation is beginning.
Here is the .vstemplate file it is choking on:
<
VSTemplate Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<
TemplateData>
<
Name>_ExternalReferences</Name>
<
Description>External assemblies for a Milos Solution based project</Description>
<
ProjectType>Library</ProjectType>
<
ProjectSubType>CSharp</ProjectSubType>
<
SortOrder>1000</SortOrder>
<
CreateNewFolder>true</CreateNewFolder>
<
DefaultName>_ExternalReferences</DefaultName>
<
ProvideDefaultName>true</ProvideDefaultName>
<
Icon>_ExternalReferencesIcon.ico</Icon>
</
TemplateData>
<
TemplateContent>
<
Project File="_ExternalReferences.csproj" ReplaceParameters ="true">
<
ProjectItem>Properties\AssemblyInfo.cs</ProjectItem>
</
Project>
</
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>
<
WizardData>
<
Template xmlns="http://schemas.microsoft.com/pag/gax-template"
SchemaVersion="1.0"
Recipe="CreateSolution">
</
Template>
</
WizardData>
</
VSTemplate>