Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > GAX and templates in VS
 

GAX and templates in VS

Hi!

I tried to enable in Guidance Package Manager one of the template options Template->Data Access-> Web Service Factory(Data Access) and then I got an error:

System.TypeLoadException: Microsoft.Practices.RecipeFramework.Library.Actions.CreateUnboundReferenceAction, Microsoft.Practices.RecipeFramework.Library ---> System.IO.FileNotFoundException: Couldn't find assembly Microsoft.Practices.RecipeFramework.Library.
at Microsoft.Practices.Common.Services.TypeResolutionService.GetAssembly(AssemblyName assemblyName, Boolean throwOnError)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
--- End of inner exception stack trace ---
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, 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.LoadActionsFromConfiguration(ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
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.PackageManagement.EnableDisablePackages.OnOkClick(Object sender, EventArgs e)

I also tried to build sources of DataAccess but there was also mistake about lacking Microsoft.Practices.RecipeFramework..Library so I added it manually from one of the folders but still it didn't work.

Maybe I need to install something ?

Should be the templates grayed all items like Data Access, Bussines Entities and so on are grayed.

Jedrzej

Jedrzej  Tuesday, February 13, 2007 11:25 AM
Is the file Microsoft.Practices.RecipeFramework.Library.dll found in the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\ folder?

-Victor.
vga  Tuesday, February 13, 2007 2:29 PM
Is the file Microsoft.Practices.RecipeFramework.Library.dll found in the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\ folder?

-Victor.
vga  Tuesday, February 13, 2007 2:29 PM

After installing GAT problem disappeared :)

Second post today that I am respoding to myself :P Sorry about this ;)

Jedrzej

Jedrzej  Tuesday, February 13, 2007 2:30 PM

It's very possible that after you install GAX it's not and after installing GAT it is. Because some other project also cried about this lib.

Jedrzej

Jedrzej  Tuesday, February 13, 2007 2:31 PM
Yes, that library is installed by GAT, which you would also need if you want to do any guidance package development yourself as it provides the Register/Unregister recipes at design-time.

Glad you make it work!
vga  Tuesday, February 13, 2007 2:38 PM

You can use google to search for other answers

Custom Search

More Threads

• Can't run the Guidance Package
• Installing GAT and GAX on Windows 2008 64bit
• Microsoft.VisualStudio.TextTemplating 8.2
• How to Extend Tools menu or some toolbar form Guidance Package?
• How does one set a default value?
• Create files in a new folder
• NotImplementedException on OnComponentChanging/Changed
• Facing problem while working with file system under source control
• June '06 Smart Client factory guidance throwing exception
• Recipe Designer for VS 2008