Problem with Add Smart Web Reference

Topics: CAB & Smart Client Software Factory
Nov 21, 2006 at 3:49 AM
originally posted by: plombaer

I'm getting this error in middel of the code generation.
I've a large solution (22 projects).
I've .Net 3.0 + SDK installed.

Thanks in advance.

Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe AddAsyncWebServiceProxy. Error was: Action AddAsyncWebServiceProxyAction failed to execute:
Object reference not set to an instance of an object..
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.Actions.AddAsyncWebServiceProxyAction.GetServiceMethods(List`1 operationNames, CodeType generatedProxyCodeType) in c:\Dev\scbat\GuidanceAutomation\SmartClientDevelopment\Actions\AddAsyncWebServiceProxyAction.cs:line 151
at Microsoft.Practices.GuidanceAutomation.SmartClient.Actions.AddAsyncWebServiceProxyAction.Execute() in c:\Dev\scbat\GuidanceAutomation\SmartClientDevelopment\Actions\AddAsyncWebServiceProxyAction.cs:line 54
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(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()