Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Volodymyr
2019-12-12T17:26:08Z
Hi VisualCron Team.
Please help with adding VisualCron.dll, VisualCronAPI, CommClientCore.dll to asp.net core 3.1 project. (Custom project)
I got an error in Client() class
Quote:


System.MissingMethodException: 'Method not found: 'System.String Microsoft.VisualBasic.Interaction.GetSetting(System.String, System.String, System.String, System.String)'.'


Please help.
Sponsor
Forum information
Support
2019-12-13T09:43:20Z
Is that the only error you get? We will look at this.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Volodymyr
2019-12-13T13:56:51Z
Quote:


Is that the only error you get? We will look at this.


Yes, only this error I got, but I assume the API library for VisualCron was created in VisualBasic .Net Framework, but for the project, asp.net core 3.1 not enough core 3.1 functions.
Please advise.
Volodymyr
2019-12-13T15:47:16Z
May this help.
In VisualCronAPI, you a using Interaction.GetSetting("AppName", "Section", "Key", "") for get some info from registry, but .net core is multyplatform so not api for access to regstry, but for transfer projects from .net fraework to .net core you can add pakage Microsoft.Win32.Registry;
Support
2019-12-13T15:52:16Z
Volodymyr
2019-12-13T19:27:07Z
Thank you for this link, this is resolved the error Interaction.GetSetting("AppName", "Section", "Key", "") now is gone.
But I have now
Quote:

Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.

Please help.
Support
2019-12-13T22:28:51Z
Originally Posted by: Volodymyr 

Thank you for this link, this is resolved the error Interaction.GetSetting("AppName", "Section", "Key", "") now is gone.
But I have now

Quote:

Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.

Please help.



We will investigate what we can do. Thanks
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Volodymyr
2019-12-16T19:07:47Z
Hi,
So .net core 3.1 contains this namespace regarding this link
https://apisof.net/catal...em.ServiceModel.Channels 

System.ServiceModel.Http, Version=4.7.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ServiceModel.NetTcp, Version=4.7.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ServiceModel.Primitives, Version=4.7.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ServiceModel.Security, Version=4.7.0.0, PublicKeyToken=b03f5f7f11d50a3a

But your CommClient.dll using System.ServiceModel.Channels, what is not supported in .net core 3.1,
May by this help you to fix it.
Thank you.
Support
2019-12-17T08:37:06Z
Originally Posted by: Volodymyr 

Hi,
So .net core 3.1 contains this namespace regarding this link
https://apisof.net/catal...em.ServiceModel.Channels 

System.ServiceModel.Http, Version=4.7.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ServiceModel.NetTcp, Version=4.7.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ServiceModel.Primitives, Version=4.7.0.0, PublicKeyToken=b03f5f7f11d50a3a
System.ServiceModel.Security, Version=4.7.0.0, PublicKeyToken=b03f5f7f11d50a3a

But your CommClient.dll using System.ServiceModel.Channels, what is not supported in .net core 3.1,
May by this help you to fix it.
Thank you.



Yes, so it seems WCF is not supported in .NET Core 3.1 so we do not see how we can fix this as we use WCF for communication.

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Volodymyr
2019-12-18T19:51:52Z
Scroll to Top