Visual Studio Development Bookmark and Share   
 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  Tuesday, December 20, 2005 5:23 PM
Have you tried reporting this problem back to Jim?
http://blogs.msdn.com/jamesnewkirk/archive/2005/12/18/505322.aspx#comments.
kzu  Thursday, December 22, 2005 9:56 PM

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  Thursday, December 22, 2005 6:22 AM
Have you tried reporting this problem back to Jim?
http://blogs.msdn.com/jamesnewkirk/archive/2005/12/18/505322.aspx#comments.
kzu  Thursday, December 22, 2005 9:56 PM

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

Colin Jack.  Friday, June 09, 2006 1:56 PM

You can use google to search for other answers

Custom Search

More Threads

• GAT/GAX and BizTalk Pipeline Component Wizard?
• Best Practices for GP?
• conditionally adding a binary reference to a project
• visual studio 2008 GAT
• SFT WiX Setup not including custom assemblies used by Guidance Package
• Replacing Project Name
• CommandBars
• An Alternate way to create a Deployment Project for a Guidance Package
• Can't Register or Unregister Recipe
• How to use devenv to build specific configuration in VS2005?