Exception during adding a CAB module to a solution

Topics: CAB & Smart Client Software Factory
Jan 31, 2006 at 5:03 AM
originally posted by: AndrejJ

Adding a CAB module causes exception (VS2005 prof):
------
Output window created.
(*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe CreateModule. Error was: Action LoadXml failed to execute:
Argument can not be null or have an empty value.
Parameter name: ProjectItem.
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.ArgumentNullException: Argument can not be null or have an empty value.
Parameter name: ProjectItem
at Microsoft.Practices.RecipeFramework.Recipe.SetupInputs(IAction action, Action config, IDictionary actions, IDictionaryService arguments)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary`2 inputValues)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary`2 declaredActions, XmlElement coordinationData)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
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(String recipe, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunFinished()

------

The generated project file for the module seems to be corrupted (corrupted project reference to Common?):

Warning 1 An error has been encountered that prevents reference 'Common' from loading. '$CommonProjectGuid$' is not a valid project identifier string. CabModule3

Warning 2 The specified project reference metadata for the reference "G:\vss\vs2005\Projects\SmartClientDevelopmentSolution1\\Source\Common\Common.csproj" is missing or has an invalid value: Project CabModule3