Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Unable to create project using GAX/WCSF in VS2008
 

Unable to create project using GAX/WCSF in VS2008

I have VS Professional 2008 and installed GuidanceAutomationExtensions Feb 2008, GuidanceAutomationToolkit For VS2008,

and Web Client Software Factory - February 2008

Getting the below error while creating project.

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Practices.ComponentModel, Version=1.0.60429.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Practices.ComponentModel, Version=1.0.60429.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.AliasResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError)
at Microsoft.Practices.RecipeFramework.Recipe.GetInstance[T](ITypeResolutionService resolution, String concreteType)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.RecipeManager.Add(IComponent component, String name)
at System.ComponentModel.Container.Add(IComponent component)
at Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(XmlReader configuration)
at Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(String packageName)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.LoadPackage()
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)

Thanks

Arun.

ArunMooth  Wednesday, April 23, 2008 4:37 PM

Figured out the issue.

Machine.Config has entries for v1.1.4 and v.2.0.5

<assemblyBinding xmlns="urnTongue Tiedchemas-microsoft-com:asm.v1" appliesTo="v1.1.4322">

<assemblyBinding xmlns="urnTongue Tiedchemas-microsoft-com:asm.v1" appliesTo="v2.0.50727">

GAX installation for some reason puts it under 1.1.

I just copied the whole GAX segment from 1.1 and pasted under 2.0.5 it works now.

Thanks

Arun

ArunMooth  Thursday, April 24, 2008 8:11 PM

Figured out the issue.

Machine.Config has entries for v1.1.4 and v.2.0.5

<assemblyBinding xmlns="urnTongue Tiedchemas-microsoft-com:asm.v1" appliesTo="v1.1.4322">

<assemblyBinding xmlns="urnTongue Tiedchemas-microsoft-com:asm.v1" appliesTo="v2.0.50727">

GAX installation for some reason puts it under 1.1.

I just copied the whole GAX segment from 1.1 and pasted under 2.0.5 it works now.

Thanks

Arun

ArunMooth  Thursday, April 24, 2008 8:11 PM
I am confirming this hack. Works the charm.

I am now able to make Web Client Solution project.

Code Snippet

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.1.4322">
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727">

GAX installation for some reason puts it under 1.1.

I just copied the whole GAX segment from 1.1 and pasted under 2.0.5 it works now.


Thanx a lot Arun

Dooshan  Wednesday, May 21, 2008 8:51 AM

You can use google to search for other answers

Custom Search

More Threads

• Help with an error message
• Add SchemaName to Web Service Software Factory or Data Access Guidance Package
• Exception thrown on Register SCSF
• a strange problem when we use Automation Toolkit
• <Compile Include> Strangeness....
• TextBox & Conversion
• Is WSSF right for me?
• Vista + VS 2008 + GAT/GAX
• Customizing a wizard
• make wizard check in file after automated edit