Guidance Package for Disconnected Agent

Topics: Mobile Client Software Factory
Jan 16, 2007 at 10:08 AM
I have found that the Disconnected Agent Guidance Package has issues where it starts to fail. I get the following error on a regular basis. I endup creating new projects and copying code accross to fix it. Has anyone got a fix ?

The error is as follows

An exception occurred during the binding of reference or execution of recipe CreateDisconnectedServiceAgent. Error was: An error happened while calling the value provider or evaluating the default value of argument ProxyType. You can remove the reference to this recipe through the Guidance Package Manager

Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe CreateDisconnectedServiceAgent. Error was: An error happened while calling the value provider or evaluating the default value of argument ProxyType..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.InvalidOperationException: Type DisconnectedWebAppShell.TailsWS.Service from file C:\TAILS\DisconnectedWebApp\DisconnectedWebApp\Source\DisconnectedWebAppShell\Web References\TailsWS\Reference.cs has not been compiled yet. Recompile project and retry.
at Microsoft.Practices.Mobile.SoftwareFactory.DteConverter.ToType(CodeClass codeClass) in C:\Mobile\Mobile Client Software Factory\GuidancePackage\MobileClientFactory\DteConverter.cs:line 83
at Microsoft.Practices.Mobile.SoftwareFactory.DteConverter.ToType(FileCodeModel codeModel) in C:\Mobile\Mobile Client Software Factory\GuidancePackage\MobileClientFactory\DteConverter.cs:line 41
at Microsoft.Practices.Mobile.SoftwareFactory.DteConverter.ToType(ProjectItem item) in C:\Mobile\Mobile Client Software Factory\GuidancePackage\MobileClientFactory\DteConverter.cs:line 28
at Microsoft.Practices.Mobile.SoftwareFactory.DisconnectedAgent.ProxyTypeValueProvider.OnBeginRecipe(Object currentValue, Object& newValue) in C:\Mobile\Mobile Client Software Factory\GuidancePackage\MobileClientFactory\DisconnectedAgent\ProxyTypeValueProvider.cs:line 27
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()
Mar 20, 2007 at 2:23 PM
Hi, I had the same problem, I did build all project then close and open visual studio, and that's all, i'm using visual studio service pack 1, I hope this can be useful.


Regards

Ernesto Herrera
Mar 20, 2007 at 6:54 PM
Is this in the released Smart Client Software Factory - June 2006? Or is it in the weekly code drop (SCSF Update 4 Alpha)?
May 10, 2007 at 4:17 PM
This problem is definitely in the June 2006 build. The reccomendation from ernesth fixes the problem for me as well.