I created new module with option "Create module". In there I put some third party controls, for example Ext.Net. Because it uses 4 dll-s i opened bin2 folder, register with web.config and put inside dll-a. On new page run, all dll-s are recognized except Newtonsoft.Json. Obviously that Ext.Net uses same dll but in different version than dll. In bin folder there is version 4.5.0.0 and mine is 6.0.0.0. When I replace original in bin folder, dnn dont work, when I use vice versa then Ext.Net dont work. I guess that both files must exist. So I put mine in bin2 folder. But, somehow it is not recognized. Every other dll ih normaly recognized but that Newtonsoft.Json is making problem. Error is:
Error: Test2 is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Ext.Net.ControlState.SetDirectEventUpdate(String key, Object value) at ASP.desktopmodules_sasa_test2_view_ascx.__BuildControlButton4() at ASP.desktopmodules_sasa_test2_view_ascx.__BuildControlTree(desktopmodules_sasa_test2_view_ascx __ctrl) at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---