Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Failed to load value providers
 

Failed to load value providers

I am juststarting out with thetoolkit, walking through Jelle'sgreat articlesand have hit a road block.

After setting up our own newpackage and trying to add two projects and an action for one toreference the other like in the article in a multi-project templatethe followingerror pops up:

Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe Recipe1. Error was: Failed to load value providers..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.ArgumentException: Invalid qualified type name Evaluator.
at Microsoft.Practices.Common.ReflectionHelper.GetAssemblyString(String qualifiedTypeName)
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)

Jelle's stuff was written on top of an older version and i would imagine the error is because the newer toolkit requires some change, Is there any kind of documentation or samples out there for the newest release of the toolkit?

Thanks,

Steve
  • Edited bysteve_baker Wednesday, September 17, 2008 3:02 PM
  •  
steve_baker  Wednesday, September 17, 2008 3:01 PM
Solved my own issue, posting an answer here because i haven't seen one anywhere for this question, but i found a few places where the question was asked.

When specifying an argument for your recipe like this:

<Argument Name="AProjectName">
<
ValueProvider Type="Evaluator" Expression="$(ProjectNameFromAWizard)">
<
MonitorArgument Name="ProjectNameFromAWizard" />
</
ValueProvider>
</
Argument>

You must make sure the alias for Evaluator is defined, which in the GAX sample is done in a TypeAlias.xml file and includedlike so in a recipe:

<xi:include href="TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

I realize now that this is basic GAX stuff, but hopefully this will save those just getting started with GAX and Recipes a little time.

  • Marked As Answer bysteve_baker Wednesday, September 17, 2008 5:18 PM
  • Edited bysteve_baker Wednesday, September 17, 2008 5:17 PM
  •  
steve_baker  Wednesday, September 17, 2008 5:17 PM
Solved my own issue, posting an answer here because i haven't seen one anywhere for this question, but i found a few places where the question was asked.

When specifying an argument for your recipe like this:

<Argument Name="AProjectName">
<
ValueProvider Type="Evaluator" Expression="$(ProjectNameFromAWizard)">
<
MonitorArgument Name="ProjectNameFromAWizard" />
</
ValueProvider>
</
Argument>

You must make sure the alias for Evaluator is defined, which in the GAX sample is done in a TypeAlias.xml file and includedlike so in a recipe:

<xi:include href="TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

I realize now that this is basic GAX stuff, but hopefully this will save those just getting started with GAX and Recipes a little time.

  • Marked As Answer bysteve_baker Wednesday, September 17, 2008 5:18 PM
  • Edited bysteve_baker Wednesday, September 17, 2008 5:17 PM
  •  
steve_baker  Wednesday, September 17, 2008 5:17 PM

You can use google to search for other answers

Custom Search

More Threads

• Problems with GAX/GAT February 2008 Final Release and WCSF 2.0
• Error installing the GAT - February 2007 CTP
• Add as Link and name space
• How to generate class file from t4 template into a sub-folder under project
• most online p0rn from captives
• GAX Templates do not load
• December 2005 CTP Required
• Approches for Copying files in solution folder
• Is GAT/GAX compatible with non-English versions of Visual Studio 2005 ?
• GAT is VS Solution Centric