Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vedgenesys on February 14, 2017, 11:24:53 AM
-
Hello friends,
come up with new query about customized IWS. I have started with new project added the "workspace interaction.exe" in the start up location when I run the project I am getting the error as below
Microsoft.Practices.Unity.ResolutionFailedException' occurred in Microsoft.Practices.Unity.dll
Additional information: Resolution of the dependency failed, type = "Genesyslab.Desktop.Infrastructure.IBootstrapController", name = "". Exception message is: The current build operation (build key Build Key[Genesyslab.Desktop.Infrastructure.IBootstrapController, null]) failed: The current type, Genesyslab.Desktop.Infrastructure.IBootstrapController, is an interface and cannot be constructed. Are you missing a type mapping? (Strategy type BuildPlanStrategy, index 3)
please help me out !!!!!!!!!!!
-
Why do you start with adding the "interactionworkspace.exe" file? Why do you not follow the documentation for developers which helps you to understand how it works and how easily make your own customization (and also provide some examples)?
-
Thanks Kubig for your reply.
I already added "interactionworkspace.exe" in the solution property i.e. Property>Startup external program. in the config file I added the module also
<task name="InteractionWorkspace.CustomizeModule.canUse" clickOnceGroupsToDownload="Customize" modulesToLoad="InteractionExtensionTestingModule" /> but still its not running. while running it shows the splash screen and gives above error.
-
I think you are wrong in your procedure (there is no requirement to add .exe file). Try to check the documentation and available examples to better understand how it works.
-
And how would he test the DLL if not executing the EXE Kubig? Kinda made me think what other option would be?
Enviado de meu E6633 usando Tapatalk
-
There are lots of different ways to do this.
The way I use is to copy all my InteractionWorkspace files including dlls and directories such as images, resources, sounds etc (and the SIP Endpoint directory if using SIP EP) into the debug folder of my project where your custom dll and module.config are located.
The in the Project Properties configure the 'Start External program' to be the InteractionWorkspace.exe in your debug folder.
Pete.
-
hello Kubig,cavagnaro and PeteHoyle,
Thanks for your reply. @PeteHoyle I have done the same thing already which you have suggested to me. But when I am trying to debug the project the break point is not get hit. I am struggling for this issue since last to last week. :'( :'(
-
What value do you have for 'Start External Program' in Project Properties/Debug ?
Can you see your custom module being loaded by WDE in the log file?
[code]InteractionWorkspace.Windows.LoginController: 17-03-06 13:39:30.938 [ 1] INFO dows.LoginController - Initializing the dynamic module: xxxxxxxModule
InteractionWorkspace.exe Information: 0 : Module CustomModule initialized in 0.354 seconds[/code]
-
Okay. I will check i t and let you know. Thanks!!!!!