Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Can not install on VS 2008
 

Can not install on VS 2008

I am trying to install SCFS but when I tried to install the Smart Client it won’t allow me to install the Client Guidance Package because I don’t have the Guidance Automation Tools installed. But for some reason the Automation Tools just won’t install it does not give me an error code just said the Guidance Automation Tool did not install.

Is there any settings on Visual Studio I need to look at or anything that might conflict with it? Or is there something else wrong?



Tash
TashAT  Saturday, January 10, 2009 4:32 PM
Hi TashAT

I'm not sure if I followed you.. Did you already installed GAX (Guidance Automation Extensions) on your machine?, you must install it before to try to install SCSF. You don't need GAT (Guidance Automation Toolkit) to use SCSF.

jose.


Jose Escrich - weblogs.asp.net/jescrich
Jose Escrich  Monday, January 12, 2009 3:22 PM
I installed the following in the following order

1. enterprise library
2. gax
3. gat
4. scfs

But when I open Visual Studio 2008 and go to new project the Guidance automation is not in my menu?
When I open a project I can go to the Tools menu there is a Guidance package manager with nothing in it when I go to enable disable package I have Guidance Package Development and Smart Client there. I select both tick boxes and press okay then I get an 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)
File name: 'Microsoft.VisualStudio.TemplateWizardInterface, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.TemplateWizardInterface, Version=8.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)
File name: 'Microsoft.VisualStudio.TemplateWizardInterface, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

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.VsGuidancePackage.InitializeTemplateCommands()
at Microsoft.Practices.RecipeFramework.VisualStudio.VsGuidancePackage.InitializeCommands()
at Microsoft.Practices.RecipeFramework.VisualStudio.VsGuidancePackage.OnSited()
at Microsoft.Practices.ComponentModel.ContainerComponent.set_Site(ISite value)
at System.ComponentModel.Container.Add(IComponent component, String name)
at Microsoft.Practices.RecipeFramework.VisualStudio.SolutionPackagesContainer.OnEnabledPackage(Object sender, PackageEventArgs e)


And I have no idea what to do?


Tash
TashAT  Monday, January 12, 2009 5:50 PM

Hi,

I can see in this guide, how you can validate the correct component installed:

http://www.codeplex.com/smartclient/Wiki/View.aspx?title=Installing%20the%20Smart%20Client%20Software%20Factory&referringTitle=Getting%20Started%20with%20the%20Smart%20Client%20Software%20Factory


You have a Check dependencies button, to validate if the required GAX is installed, or detected in your system.


greetings

Leandro Tuttini
Leandro Tuttini  Monday, January 12, 2009 6:22 PM
I did read it and the installation went perfect no errors but as I have explained in the post above I there is no menu items for the Guidance Packages and when I try to enable them (see how I am doing it above) I get the templatewizard error.
Tash
TashAT  Monday, January 12, 2009 6:29 PM

Hi,

I think that it can help you.


http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/f6464801-ad55-42db-be7f-d0eb5a8baa22/


I read the error with more detail, and I can see that you are having problems with the TemplateWizardInterface class.

I founded in the folder C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
the file: devenv.exe.config, and edit.

I founded the TemplateWizardInterface class in the file of my machine, I didn´t see it.


You must remove the class definition, you must find the lines:

<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.TemplateWizardInterface" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.9.9.9" newVersion="9.0.0.0" />

</dependentAssembly>

and remove these lines.



Note: remember not use the wordpad when edit .config file, because in some case I have problem, because it corrupts the file, use the notepad, or notepad++

Note two: make a backup of devenv.exe.config



greetings


Leandro Tuttini
Leandro Tuttini  Monday, January 12, 2009 7:44 PM

You can use google to search for other answers

Custom Search

More Threads

• Code Snippets not uninstalling
• Synchronizing - GAT Package Changes
• How to pass parameters to T4 templates using GAX?
• registry entry for GAT and GAX
• Add View(..) context menu does not show
• Web Service Software Factory (WCF) - cannot add service reference
• How to validate dependencies from Setup Package
• Trouble Installing Mobile Client Software Factory in Vista x64 Ultimate and Win2k3 Server Standard x64...
• $ProjectName$ Doesnot shown in Solution Folder Name
• Error "System.ArgumentNullException: Key cannot be null" when i add twice same project item