index > Visual Studio Guidance Automation Toolkit > Problem Loading Package

Problem Loading Package

I am trying to load the NUnit Test Code Conversion extension written by James Newkirk (http://blogs.msdn.com/jamesnewkirk/default.aspx). I realize that it seems that I should be talking to him to troubleshoot this, but I don't think its a problem with his package.

The reason I think this is because the exception being returned is that an assembly couldn't be found "Microsoft.Practices.RecipeFramework.Library". This leads me to believe that the GAT wasn't installed correctly, but I can't tell if it has been or not.

Any help would be greatly appreciated.

Here is the error in full:


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)

jDeVoss

GAT installation should install that assembly. Please check in C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies to see if the file is there.

Let us know.


 

vga
Have you tried reporting this problem back to Jim?
http://blogs.msdn.com/jamesnewkirk/archive/2005/12/18/505322.aspx#comments.



Daniel Cazzulino [Solutions Architect MVP]
kzu

I got exactly the same error, even though I've followed the installation instructions to the letter. After installing the "Guidance Automation Toolkit" though it worked (even though the gotdotnet instructions say you don't need to install it:

http://www.gotdotnet.com/workspaces/workspace.aspx?id=91936c5e-461f-4027-bdba-8a46f52fefdb

colinjack
reply 4

You can use google to search for other answers

 

More Articles

• Register Guidance Package fails
• ValueProvider for the first selected Item in a project?
• Uninstalling Missing Packages
• Future Roadmap for GAT
• Bullet points for building a guidance automation package from scr...
• CAB Module menu item doesn't run
• Update guidance already installed
• Can you build a guidance package in VB?
• Error unfolding a project template
• Smart Client Software Factory (Recipe Framework Error) during Ena...
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Is there a way to use the T3 engine as a
• How can I Organize templates in the &quo
• Multiple Project Creation Template
• TechEd Hands On Lab 2005 - Exercise 2 -
• Unable to install GAX June CTP - States
• How to add Visual studio data source wiz
• Smart Client Software Factory (Recipe Fr
• How can you skip the UI when you run a r
• GAT on Visual Studio Release Candidate
• Combining GAT and CAB
• Issue passing input parameters to actions
• GAT fails to install, claims GAX is miss
• Can you detect all installed packages?
• Error "System.ArgumentNullException
• Converting IDTWizard to GAT project and

Hot Articles

• Create New Project Hangs
• GAT Problem
• Build path
• Guidance actions are gone
• Error while unistalling Guidance Automat
• Recipe spawning on pretty much anything
• new to GAT
• Changes to the ProjectName from a Wizard
• How do you add a using/reference to a t4
• Fail to register Guidance Package from S
• Error 1001: Item has already been added.
• RegexMatchStringConverter
• Calling a recipe inside another recipe???
• Making compiling faster!!!
• Slow loading Guidance Navigator

Recommend Articles

• Upgrading Headaches
• Get all classes from a Project?
• Debugging your packages.
• Wizard size and colors
• Create Add DataSet recipe
• Guidance actions are gone
• Code Snippets not uninstalling
• Can't download GAT, GAX?
• TechEd Hands On Lab 2005 - Exercise 2 -
• web project template, to fire code in ga
• how to add website project
• classname value
• Referencing a generic class with a t4 te
• Solution Folder Name
• CommandBars