Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Issues with VS Team System 2008 Dev Edition
 

Issues with VS Team System 2008 Dev Edition

Hi.

I’m running Windows XP Professional SP2. I have installed Visual Studio Team System 2008 Development Edition (Version 9.0.21022.8 RTM). No other versions of VS, the GAX, or GAT have ever been installed on this computer. I installed the July 2007 GAX and GAT with (seemingly) no problem. Yet when I launch VS2008, there is no evidence that I installed the GAT. When I bring up the “New Projects�dialog box, there is no entry at all for “Guidance Packages� anywhere.

If I select Help | About Microsoft Visual Studio

There is an entry in the about box for:

Microsoft Recipe Framework Package 8.0 - This package provides services to the guidance packages.

Here is a dump of the GAX directory:

Directory of C:\Program Files\Microsoft Guidance Automation Extensions

02/05/2008 12:32 PM <DIR> .

02/05/2008 12:32 PM <DIR> ..

06/29/2007 12:19 PM 151,732 GAX EULA.rtf

05/18/2007 03:45 PM 73,317 GAX reference.chm

07/21/2007 09:29 PM 77,469 Release Notes.rtf

3 File(s) 302,518 bytes

Here is a dump of the GAT directory:

Directory of C:\Program Files\Microsoft Guidance Automation Toolkit

02/05/2008 12:34 PM <DIR> .

02/05/2008 12:34 PM <DIR> ..

06/29/2007 06:58 PM 165,433 GAT EULA.rtf

05/18/2007 03:37 PM 1,505,597 GAT Help.chm

02/05/2008 12:34 PM 245,760 MetaGuidancePackageUI.dll

07/19/2007 02:06 PM 136,608 Microsoft.Practices.RecipeFramework.MetaGuidancePackage.dll

07/24/2007 11:02 AM 19,517 Microsoft.Practices.RecipeFramework.MetaGuidancePackage.xml

06/26/2007 11:40 PM 2,735 PackageRegistration.xml

02/05/2008 12:34 PM <DIR> Snippets

02/05/2008 12:34 PM <DIR> Templates

6 File(s) 2,075,650 bytes

Can anyone provide any suggestions?

Thanks.

DlgProc  Tuesday, February 05, 2008 6:01 PM

Okay, I think I figured this out. This is what I did and I got it to work.

To Enable Guidance Packages

1) Launch Visual Studio and open a project, any project, it doesn’t matter.

2) Choose View | Other Windows | Guidance Navigator Window

3) Once this window is displayed, select “Guidance Package Manager…�from it’s dropdown combobox.

4) The Guidance Package Manager dialog box will appear.

5) Click on the “Enable / Disable Packages�button.

6) The Enable and Disable Packages dialog box will appear.

7) Check the box next to the “Guidance Package Development.�entry and click OK.

8) You may get the following big nasty error in the following section. If you don’t, you’re good to go.

9) After this works you should now see the “Guidance Packages�entry in the New Project dialog Box.

Big Nasty Error

System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.TemplateWizardInterface, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Fix for Big Nasty Error

1) Unload the “Guidance Package Development�by unchecking the checkbox in Enable and Disable Packages dialog box.

2) Close down Visual Studio

3) Follow the instructions in the following link: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2370411&SiteID=1

4) Follow the previous instructions outlined under To Enable Guidance Packages. It should work this time with no big nasty error.

DlgProc  Tuesday, February 05, 2008 10:16 PM

Okay, I think I figured this out. This is what I did and I got it to work.

To Enable Guidance Packages

1) Launch Visual Studio and open a project, any project, it doesn’t matter.

2) Choose View | Other Windows | Guidance Navigator Window

3) Once this window is displayed, select “Guidance Package Manager…�from it’s dropdown combobox.

4) The Guidance Package Manager dialog box will appear.

5) Click on the “Enable / Disable Packages�button.

6) The Enable and Disable Packages dialog box will appear.

7) Check the box next to the “Guidance Package Development.�entry and click OK.

8) You may get the following big nasty error in the following section. If you don’t, you’re good to go.

9) After this works you should now see the “Guidance Packages�entry in the New Project dialog Box.

Big Nasty Error

System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.TemplateWizardInterface, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Fix for Big Nasty Error

1) Unload the “Guidance Package Development�by unchecking the checkbox in Enable and Disable Packages dialog box.

2) Close down Visual Studio

3) Follow the instructions in the following link: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2370411&SiteID=1

4) Follow the previous instructions outlined under To Enable Guidance Packages. It should work this time with no big nasty error.

DlgProc  Tuesday, February 05, 2008 10:16 PM

Please note that the version of GAX you're using was not designed nor tested against VS 2008 RTM version, it included support for the beta version of VS 2008. When VS 2008 RTMed a binding redirect changed and this broke the binding redirect that GAX was adding for the VS beta version thus causing the "big nasty" error that you describe which btw can be fixed by commenting a single line in an xml file.

The next version of GAX, now targeting the final RTM version of VS 2008 won't add this binding redirect as it was only needed by the VS 2008 beta version, and thus, this issue will be gone.

vga  Wednesday, February 06, 2008 4:11 AM

You can use google to search for other answers

Custom Search

More Threads

• t4 help
• Has anyone written a MSI bootstrapper for Guidance Automation Toolkit (GAT)?
• Installing Guidance package for both VS2005 and VS2008
• 2008 New Nike Football Shoes in www.shoes198.com
• How do you add a using/reference to a t4 template?
• Layered Architecture Demo explanation
• Add .CS file to a Project
• Simple class template reference
• Installing Web Serivce Software Factory failing
• Adding Solution items