Ho riscontrato un problema durante la configurazione di un semplice progetto di test per SignalR.Problemi con SignalR utilizzando NuGet
ho installato SignalR in VS WD Express 2010
utilizzando NuGet
, ma quando provo a fare funzionare il mio sito ho la seguente pagina di errore Asp.Net. (Sembra che tutti gli assembly siano stati aggiunti correttamente da NuGet)
Chi ha visto questo prima?
Could not load type 'SignalR.PersistentConnection' from assembly 'SignalR
[TypeLoadException: Could not load type 'SignalR.PersistentConnection' from assembly 'SignalR, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.]
SignalR.Hosting.AspNet.AspNetBootstrapper.Initialize() +0
[InvalidOperationException: The pre-application start initialization method Initialize on type SignalR.Hosting.AspNet.AspNetBootstrapper threw an exception with the following error message: Could not load type 'SignalR.PersistentConnection' from assembly 'SignalR, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +423
System.Web.Compilation.BuildManager.CallPreStartInitMethods() +306
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677
[HttpException (0x80004005): The pre-application start initialization method Initialize on type SignalR.Hosting.AspNet.AspNetBootstrapper threw an exception with the following error message: Could not load type 'SignalR.PersistentConnection' from assembly 'SignalR, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9090876
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
Sto utilizzando un progetto MVC3 – TGH
Questo sta accadendo a me e il nome del mio progetto NON è SignalR – Julien
Questo non succederebbe ora comunque la dll è stata rinominata. – davidfowl