SignalR卸载工件

时间:2015-12-31 12:05:56

标签: c# signalr nuget

所以我尝试将signalR安装到我的项目中,浏览了我需要的所有内容,然后切换到我的主分支(丢弃所有更改)并运行我的网站。

我一直收到此错误

The following errors occurred while attempting to load the app.
- No assembly found containing an OwinStartupAttribute.
- No assembly found containing a Startup or [AssemblyName].Startup class.
To disable OWIN startup discovery, add the appSetting owin:AutomaticAppStartup with a value of "false" in your web.config.
To specify the OWIN startup Assembly, Class, or Method, add the appSetting owin:AppStartup with the fully qualified startup class or configuration method name in your web.config.

虽然我的项目或任何Startup.cs文件中没有任何对Owin的引用或任何内容。我的提交现在没有变化,但我有这个错误。

我通过NuGetPM使用-RemoveDependencies删除了包。

1 个答案:

答案 0 :(得分:0)

必须有一些残余物。在这种情况下我做的是完全清空目录并进行新的检查。由于你已经放弃了所有更改,我认为这将有效。

相关问题