Hi, I have built a scheduled task to synch some data. I have implemented this as an external dll. I am using a Kentico module to save the configuration settings, but when I copy the provider code to my external dll I get an error because now there are two versions of the provider code one in Kentico and one in my dll. Is there a way I can reference the module provider in my external dll?[A]SensorPro.ConfigurationInfo cannot be cast to [B]SensorPro.ConfigurationInfo. Type A originates from 'App_Code.r2cqedid, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null' in the context 'Default' at location 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\kentico11\d58782dc\690f4b74\App_Code.r2cqedid.dll'.
Type B originates from 'NT.Interface.Kentico11, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location
'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\kentico11\d58782dc\690f4b74\assembly\dl3\d3e9585c\229fbedc_0158d501\NT.Interface.Kentico11.dll'.Thanks for the advice
Regards
Richard
↧