Problem when adding the module to my projects

Issue #17 new
shahin b created an issue

Hi and thanks for developing this great module I got error when trying to build this module on Orchard 1.9.1 I know the problem is with assemblies but I don't know what causes this error to occur ... thanks

[30] Orchard.Environment.Extensions.ExtensionManager - (null) - Error loading extension 'Proligence.SignalR' System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AspNet.SignalR.Core, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'Microsoft.AspNet.SignalR.Core, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) at System.Reflection.RuntimeAssembly.GetExportedTypes() at Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) at Orchard.Environment.Extensions.Loaders.ExtensionLoaderBase.Load(ExtensionDescriptor descriptor) at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) at

Comments (7)

  1. Piotr Szmyd

    Sounds like you have another SignalR dll (older or newer) sitting somewhere in some other module /bin folder (or in Orchard.Web/bin). Take a look and remove that one.

  2. shahin b reporter

    I removed them but now the problem is with microsoft.owin wich orchard.framework uses version 3.0.0 and SignalR module uses Microsoft.Owin, Version=2.1.0.0 I upgrade your module to verison 3.0.0 but problem still remains

  3. shahin b reporter

    should I use your SignalR dlls in my own modules? I don't know how orchard manage things if I use a newer version which one is take? Yours or Mine? I think documenting these issues is a good work for noobs like me and help more people contributing in developing orchard modules Hope someone shed light on how we could simplify efforts...

  4. shahin b reporter

    I finally do my job and everything works fine thanks for your module But I like to learn how you wrap all SignalR hubs. It's really interesting when we think about the power orchard gives us if we know how to use from it's great engine

  5. Log in to comment