Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > System.TypeLoadException when starting a new project of type "Web Service Software Factory (WCF)"
 

System.TypeLoadException when starting a new project of type "Web Service Software Factory (WCF)"

When starting a new project of type "Web Service Software Factory (WCF)", this error occurs as the Guidance Navigator starts. Environment is VS2005, web service extensions, GAX/GAT, service factory Dec2006, ent lib 3.1, etc.

System.TypeLoadException: Microsoft.Practices.RecipeFramework
.Extensions.Actions.CodeDom.Helpers.LanguageType, Microsoft.Practices.RecipeFramework.Extensions ---> System.ArgumentNullException: Value cannot be null.
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(***emblyName assemblyRef)
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.GuidancePackage.EnsureInitializeMetadataForCurrentRecipe()
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)
Mark A. Richman  Wednesday, October 31, 2007 2:28 PM

Hi Mark,

that's an issue related with the Service Factory package, try to post it in the SF forum @ codeplex. www.codeplex.com/servicefactory.

Regarding the issue, it seems that it couldn't resolve an assembly. You can use fusion to try to find out what is the missed assembly. Another thing could be that you've installed a GAX/GAT version that's not compatible with that SF release.

hth.

jose.

Jose Escrich  Monday, November 05, 2007 1:33 PM

Hi Mark,

that's an issue related with the Service Factory package, try to post it in the SF forum @ codeplex. www.codeplex.com/servicefactory.

Regarding the issue, it seems that it couldn't resolve an assembly. You can use fusion to try to find out what is the missed assembly. Another thing could be that you've installed a GAX/GAT version that's not compatible with that SF release.

hth.

jose.

Jose Escrich  Monday, November 05, 2007 1:33 PM

You can use google to search for other answers

Custom Search

More Threads

• C++ in GAX
• Adding project in a template conditionally
• How to modify the SCSF Add View (with presenter) generated code
• Registering guidance with the experimental hive
• System.Web.Extensions
• Licensing issue of Software Factory's Pre-requesites - GAX, GAT etc..
• Windows Installer XML project for GAT Package?
• Could not load WCSF project Microsoft.Practices.ComponentModel
• The future of GAT vs. Visual Studio Extensibility
• how to re-enable register/unregister/quick register guidance package