Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Unable to load type System.Collections.Generic.Dictionary
 

Unable to load type System.Collections.Generic.Dictionary

Whenever i try to open any solution using Visual Studio 2005, i am getting the following error. After seraching internet i found that it is something to do with Guidance Package. The full error is pasted below. Could someone suggest me how to resolve this?

System.Runtime.Serialization.SerializationException: Unable to load type System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Collections.Generic.List`1[[Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorManager+RecipeExecutionHistory, Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] required for deserialization.

at System.Runtime.Serialization.ObjectManager.DoFixups()

at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)

at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)

at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeManagerPackage.OnLoadOptions(String key, Stream stream)

Thanks

Austin.

AustinAjit  Friday, January 04, 2008 7:28 PM
Hi Austin,

Have you fixed this?

It looks like a weird serialization error on GAX's execution history of recipes. Can you please try to delete [yoursolution].SUO file and see if this goes away?

thanks,
-Victor.

vga  Monday, January 14, 2008 6:35 AM
Hi Austin,

Have you fixed this?

It looks like a weird serialization error on GAX's execution history of recipes. Can you please try to delete [yoursolution].SUO file and see if this goes away?

thanks,
-Victor.

vga  Monday, January 14, 2008 6:35 AM

Thanks Victor for your response. Actually your suggestion fixed the problem partially. So now when i delete the suo file, the error goes away. But when i try to reopen the solution again i am getting the error.

It looks like the problem is beyond SUO file.

Thanks,

Austin.

AustinAjit  Wednesday, January 16, 2008 10:08 PM

You can use google to search for other answers

Custom Search

More Threads

• Starting VS2008 SP1 Beta1 In Experimental Hive Fails with Recipe Framework Error
• Fatal Login Error w/ Passport
• enable GAT for existing projects
• How to incorporate data access package into custom package
• Using Experimental Hive
• $(TargetDir) available in Recipe node?
• GAT July 2007 and SCSF fails to install on Vista and VS 2008
• UnfoldTemplateAction - with template parameter
• Installing Guidance package for both VS2005 and VS2008
• How to add a template without opening it.