SignalR卸载工件

本文关键字:卸载 SignalR | 更新日期: 2023-09-27 18:28:38

所以我尝试将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的包。

SignalR卸载工件

一定有一些残留物。在这种情况下,我所做的就是完全清空目录并重新签出。由于您已经放弃了所有的更改,我想这将起作用。