Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Exception while using the 'Add Event Publication' Recepie
 

Exception while using the 'Add Event Publication' Recepie

While using 'Smart Client Application Factory' April 2008 release along with the latest GAT, the following exception was thrown while attempting to add an event publication recepie. The stack trace is listed below. Please help. Thanks in advance.

Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe AddEventPublicationCS. Error was: An error happened while calling the value provider or evaluating the default value of argument CommonProject..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Practices.SmartClientFactory.ValueProviders.GetProjectFromGuidProvider.OnBeginRecipe(Object currentValue, Object& newValue)
at Microsoft.Practices.RecipeFramework.Recipe.CallProviders(IDictionary providers, IDictionaryService readonlyArguments, IDictionaryService arguments, Boolean isBefore)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.Recipe.CallProviders(IDictionary providers, IDictionaryService readonlyArguments, IDictionaryService arguments, Boolean isBefore)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()
sandeep
nitroxn  Monday, April 20, 2009 1:03 PM
Hey can anybody help me with this issue? It seems to be working fine with other projects.
sandeep
nitroxn  Tuesday, April 21, 2009 4:46 PM
Hi sandeep,

Maybe in the SCSF you will find a proper solution for that issue, anyway if you're using the source code of SCSF you can check the Microsoft.Practices.SmartClientFactory.ValueProviders.GetProjectFromGuidProvider value provider, in where the exception was ocurred.

It seems something related with your solution structure.

Please try to re post your issue here: http://smartclient.codeplex.com/Thread/List.aspx

hth.
jose.

Jose Escrich - weblogs.asp.net/jescrich
  • Proposed As Answer byJose Escrich Wednesday, April 29, 2009 3:08 PM
  •  
Jose Escrich  Wednesday, April 29, 2009 3:08 PM

You can use google to search for other answers

Custom Search

More Threads

• Beta 2 Class Wizard does not work
• Can someone look at this please? MSDN Walk through Article on custom directive processor doesn't work
• Argument Expansion - Unfold Template
• New Editor or Not?
• Unable to add project reference to a web project
• How to set the Open attribute of AddItemFromStringAction
• Unable to update Guidance Automation Extensions to new version
• Problems with installing Guidance Extensions and Software Factories.
• guidance package startup code
• Bound recipe not showing up