Ich habe ein Problem, ein einfaches Testprojekt für SignalR einrichten.Probleme mit SignalR mit NuGet
Ich installierte SignalR in VS WD Express 2010
NuGet
verwenden, aber wenn ich versuche, meine Website ich folgende Asp.Net Fehlerseite erhalten zu laufen. (Es sieht so aus, als ob alle Baugruppen von NuGet korrekt hinzugefügt wurden)
Wer hat das schon mal gesehen?
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
Ich benutze ein MVC3-Projekt – TGH
Das passiert mir und der Name meines Projekts ist nicht SignalR – Julien
Das würde jetzt sowieso nicht passieren, die DLL wurde umbenannt. – davidfowl