Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Failed to create business module
 

Failed to create business module

Hi,

I am using GAX June 2006 CTP for my SCSF projects. For some projects, I have been unable to run the CreateBusinessModule and CreatFoundationModule framework recipes. I get the following error:

Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe CreateBusinessModule. Error was: An error happened while calling the value provider or evaluating the default value of argument ShellProject..
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.GuidanceAutomation.SmartClient.ValueProviders.GetProjectFromGuidProvider.OnBeginRecipe(Object currentValue, Object& newValue) in c:\Dev\scbat\GuidanceAutomation\SmartClientDevelopment\ValueProviders\GetProjectFromGuidProvider.cs:line 37
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.ExecuteFromTemplate(String recipe, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)

What could be causing this? Anyone have any ideas?

Thanks



hmy  Thursday, August 16, 2007 4:52 AM
Hi, it seems that it's something wrong when the recipe is evaluating the value of the ShellProject argument... the SCSF site is probably the best place to post this problem: http://www.codeplex.com/smartclient

Based on the exception message and stack I don't see any issues with GAX/GAT.

Thanks,
-Adrian
Adrian Alonso  Thursday, August 16, 2007 1:01 PM
Hi, it seems that it's something wrong when the recipe is evaluating the value of the ShellProject argument... the SCSF site is probably the best place to post this problem: http://www.codeplex.com/smartclient

Based on the exception message and stack I don't see any issues with GAX/GAT.

Thanks,
-Adrian
Adrian Alonso  Thursday, August 16, 2007 1:01 PM

You can use google to search for other answers

Custom Search

More Threads

• Project References Guids?
• ValueProvider for the first selected Item in a project?
• Could MS provides its own T4 editor for GAT or DSL?
• Code Snippets not uninstalling
• How to set the Open attribute of AddItemFromStringAction
• Files don't copy to UnitTesting Out folder ?
• What's the best way to programatically call an action from within another action?
• System.Collections.Generic.KeyNotFoundException in custom T4 Action
• Impossible to uninstall GAT
• Office Resource Kit