I recently moved into Genesys softphone dev and while I never done any dev work with softphones I come from a heavy .net background. While I was adding some custom code I noticed that when I tried to run the whole package that an exception would be thrown in one of the Genesys dll’s BUT it only happened in Visual Studio 2015. I can run the code in VS 2010 and 2013.
Here is the exception details:
Microsoft.Practices.Unity.ResolutionFailedException was unhandled
Message: An unhandled exception of type ‘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)
Does anyone know the solution to the error? I Use VS 2022 and Framework 4.5.2
I showed the DLLs but when I try to run I get the error . Is there anyone who can be of assistance? Thank you in advance
An unhandled exception of type ‘Microsoft.Practices.Unity.ResolutionFailedException’ occurred in Microsoft.Practices.Unity.dll
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)
@hsujdik
Yes, the dlls you sent are attached, but VS also gives this warning, but the application works. I’m trying to make a VideoCall.
I’m trying to make a VideoCall call with an API link.
With WebView2, but I trigger the Navigate link, but Genesys Worspace Edition does not open in WPF. This took my time, can anyone help with an idea?
Thanks in advance
Does anyone know the solution to the error? I Use VS 2022 and Framework 4.5.2
I showed the DLLs but when I try to run I get the error . Is there anyone who can be of assistance? Thank you in advance
In the page I mentioned above, it says that it requires .NET Framework 4.6.2 or higher (and also, WDE 8.5.147.05 or above).
Thank you very much for your support. I provided Framawork upgrade and editing.
But at this point when i put try cath i get error
This is causing a lot of trouble. WebView2 Tool installation is not installed separately on user computers for a different issue. Do you have any idea for this?
Thank you
Error Message :
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2EnvironmentWithOptions(String browserExecutableFolder, String userDataFolder, ICoreWebView2EnvironmentOptions options, ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler environment_created_handler)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.d__3.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Genesyslab.Desktop.Modules.ABIntegration.Views.WebView2SampleView.d__14.MoveNext() in