Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > MetaGuidancePackage error when creating a new Guidance Package or Solution
 

MetaGuidancePackage error when creating a new Guidance Package or Solution

Scenario

Installed GAX February 2008 release and GAT for VS2005. Running ONLY VS2005 on Vista Enterprise SP1.

Issues

1. First Issue was the file name installed was the incorrect name �[Resolved].

2. Second Issue is the GuidancePackageSolution.vstemplate and csproj had the wrong version of Microsoft.Practices.RecipeFramework.VisualStudio. It had been marked as 1.2.0.0 when it should have been 1.4.0.0. [Resolved]

3. Third Issue is a complaint about MetaGuidancePackage. Error, “The package MetaGuidancePackage could not activated, the template cannot be unfolded."

Third Issue

Encountered the following errors when creating a new Guidance Project. The first error was trying to create a Guidance Project. The second was from trying to create guidance solution.

(Guidance Project)

(Guidance Solution)

Here are some things I noticed in the .vstemplate and .csproj files�

In all the .vstemplate extensions under Templates directory the reference to the incorrect version of the assembly Microsoft.Practices.RecipeFramework.VisualStudio was corrected.

Directory: C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates

Files Affected: .vstemplate (extension) and .csproj (extension)

Changes Made:

OLD: <Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>

NEW: <Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>

However, I am still unable to create a guidance package or solution in VS2005. L

Thanks,
-Bill A.

rta_llc  Wednesday, August 13, 2008 5:12 PM
Second Round ...

I performed a gax dump (below) ... And I see this -->Unable to find Software\Microsoft\VisualStudio\8.0\RecipeManagerPackage.

So now the question is ,what should it be (assuming in the HKLM ) ?? If anyone has a valid entry please post it here!

Thanks,
-bja


Dumping OS details...
------------------------------------------------
OS version: Microsoft Windows NT 6.0.6001 Service Pack 1
CLR version: 2.0.50727.1434

Dumping GAX hive...
------------------------------------------------
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions
Value CurrentVersion=1.4 - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Compatibility
Value 1.3=1 - (DWord)
Value 1.2=1 - (DWord)
Value 1.1=1 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts\VisualStudio
Value CurrentHive=8.0 - (String)
Value 8.0=8.0 - (String)

Dumping GAX Main Manifest...
------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<RecipeFramework SchemaVersion="1.0" TraceLevel="Error" xmlns="http://schemas.microsoft.com/pag/gax-manifest">
<Hosts>
<Host Name="VisualStudio" InstallerType="Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller, Microsoft.Practices.RecipeFramework.VisualStudio" />
</Hosts>
<GuidancePackages>
<GuidancePackage Name="MetaGuidancePackage" Version="1.0" Caption="Guidance Package Development" Description="" Host="VisualStudio" Guid="23FC29C9-FAFE-47f1-B633-B548E788DDDF" ConfigurationFile="C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Microsoft.Practices.RecipeFramework.MetaGuidancePackage.xml" Timestamp="633385122740000000" />
</GuidancePackages>
</RecipeFramework>

Dumping GAX info for 8.0 hive.
--------------------------------------------------------------------
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\8.0\RecipeManagerPackage.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}
Value InprocServer32=C:\Windows\system32\mscoree.dll - (String)
Value Class=Microsoft.Practices.RecipeFramework.VisualStudio.RecipeManagerPackage - (String)
Value CodeBase=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.RecipeFramework.VisualStudio.DLL - (String)
Value ID=1 - (DWord)
Value MinEdition=Standard - (String)
Value ProductVersion=1.0 - (String)
Value ProductName=recipe framework - (String)
Value CompanyName=Microsoft - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\SatelliteDll
Value Path=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies - (String)
Value DllName=Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Value LastTemplate=4 - (DWord)
Value PackageName=MetaGuidancePackage - (String)
Value 1=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates\Items\Action\Action.vstemplate - (String)
Value 2=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates\Solutions\GuidancePackageSolution.vstemplate - (String)
Value 3=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates\Solutions\Projects\GuidancePackage\GuidancePackage.vstemplate - (String)
Value 4=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates\Solutions\Projects\GuidancePackageInstaller\GuidancePackageInstaller.vstemplate - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}
Value {53544C4D-E3F8-4AA0-8195-8A8D16019423}=0 - (DWord)
Value {77d93a80-73fc-40f8-87db-acd3482964b2}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}\Packages
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}\Packages\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Value {629EB7CC-69C2-43AC-9BC9-482B0F810C4E}=0 - (DWord)
Value {77d93a80-73fc-40f8-87db-acd3482964b2}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}\Packages
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}\Packages\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}
Value Name=Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorWindow - (String)
Dumping PublicAssemblies 8.0 folder...
--------------------------------------------------------------------
=====================================================================

Dumping GAX Main Manifest...
------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<RecipeFramework SchemaVersion="1.0" TraceLevel="Error" xmlns="http://schemas.microsoft.com/pag/gax-manifest">
<Hosts>
<Host Name="VisualStudio" InstallerType="Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller, Microsoft.Practices.RecipeFramework.VisualStudio" />
</Hosts>
<GuidancePackages>
<GuidancePackage Name="MetaGuidancePackage" Version="1.0" Caption="Guidance Package Development" Description="" Host="VisualStudio" Guid="23FC29C9-FAFE-47f1-B633-B548E788DDDF" ConfigurationFile="C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Microsoft.Practices.RecipeFramework.MetaGuidancePackage.xml" Timestamp="633385122740000000" />
</GuidancePackages>
</RecipeFramework>

Dumping GAX info for 8.0Exp hive.
--------------------------------------------------------------------
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\8.0Exp\RecipeManagerPackage.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}
Value InprocServer32=C:\Windows\system32\mscoree.dll - (String)
Value Class=Microsoft.Practices.RecipeFramework.VisualStudio.RecipeManagerPackage - (String)
Value CodeBase=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.RecipeFramework.VisualStudio.DLL - (String)
Value ID=1 - (DWord)
Value MinEdition=Standard - (String)
Value ProductVersion=1.0 - (String)
Value ProductName=recipe framework - (String)
Value CompanyName=Microsoft - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\SatelliteDll
Value Path=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies - (String)
Value DllName=Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Value LastTemplate=4 - (DWord)
Value PackageName=MetaGuidancePackage - (String)
Value 1=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates\Items\Action\Action.vstemplate - (String)
Value 2=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates\Solutions\GuidancePackageSolution.vstemplate - (String)
Value 3=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates\Solutions\Projects\GuidancePackage\GuidancePackage.vstemplate - (String)
Value 4=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2005\Templates\Solutions\Projects\GuidancePackageInstaller\GuidancePackageInstaller.vstemplate - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}
Value {53544C4D-E3F8-4AA0-8195-8A8D16019423}=0 - (DWord)
Value {77d93a80-73fc-40f8-87db-acd3482964b2}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}\Packages
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}\Packages\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Value {629EB7CC-69C2-43AC-9BC9-482B0F810C4E}=0 - (DWord)
Value {77d93a80-73fc-40f8-87db-acd3482964b2}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}\Packages
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}\Packages\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0Exp\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}
Value Name=Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorWindow - (String)
Dumping PublicAssemblies 8.0Exp folder...
--------------------------------------------------------------------
=====================================================================
Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WARNING: Unable to get assembly info: Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WARNING: Unable to get assembly info: Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)



rta_llc  Thursday, August 14, 2008 4:00 PM

Hi Bill,

Re: 1 -- what was exaclty this issue? could you provide more details?

Re: 2 -- you shouldn't need to change by hand the version number from 1.2 to 1.4 as GAX when installed adds proper binding redirects that will cause all references to previous versions of GAX to go to the latest one. Did you change this because you got a specific error about this?

Re: 3 -- It seems like some of the info didn't get posted, I can read (Guidance Project) and (Guidance Solution), were these screenshots? Could you provide the full text of the current error you're getting?

thx,
-vga.


Working with GAX/GAT/DSL? Download SFT now! http://softwarefactoriestoolkit.net
vga  Monday, August 18, 2008 6:43 PM

Hey V:

RE1: Selecting New Project--> Guidance Package/Guidance Solution from VS2005, I got an error that it could not findMicrosoft.Practices.RecipeFramework.VisualStudio bec/ the version was looking for 1.2.0.0 but the version was 1.4.0.0. I then proceeded to look at ALL my .vstemplates and .csprog and saw they ALL were marked with version 1.2.0.0 ... and so I changed them to 1.4.0.0. Why? becuase I did not have version 1.2.0.0 dlls . and there were no redirects in my config file. I verified the versions with Reflector.

RE2: Yes, I got a specific error that the .vstemplate failed to load ... changing the version number to have it look for 1.4.0.0 instead of 1.2.0.0 got me pass that error. However, then the next error followed ... which is what I reported.

RE3: Yes, they are images that did not come over. I have a word document of the issues that I cut-n-pasted in. I sent the information to J. DaVadoss.
The popup messages I get state:

Error 1: "Package named MetaGuidancePackage enabled for this solution is not installed." --> when selecting the New Project -> Guidance Solution

Error 2:"Recipe Framework Error

The packgage MetaGuidancePackage could not activated, the template cannot not be unfolded"--> when selecting the New Project -> Guidance Project


Finally, I re-ran the gax dump and noticed an error in a registry value not found ....

That is where things stand now.

hth,
-bja

rta_llc  Tuesday, August 19, 2008 5:18 PM
Problem resolved!

I installed VS2008 and repaired Vs2005 toolkit. Now, I can create a guidance package in VS2005 as well as VS2008.

I don't have time to look further into why ... but it works now.

thanks for the feedback.

-bja
rta_llc  Tuesday, August 26, 2008 2:49 AM

You can use google to search for other answers

Custom Search

More Threads

• Install problem on GAX
• cross-recipe arguments
• Packaging both Vb and CS in one Guidance Package
• GAX/GAT breaking DSL
• Installation: Error 1001
• GAT on Visual Studio Release Candidate
• Error In GAT
• Call T4 Action
• How to set focus on "No" button of the MsgBox in VB.NET
• enable GAT for existing projects