我在安装Package Signalr时遇到此错误

编程入门 行业动态 更新时间:2024-10-25 08:28:10
本文介绍了我在安装Package Signalr时遇到此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

The following errors occurred while attempting to load the app. - No assembly found containing an OwinStartupAttribute. - No 'Configuration' method was found in class 'Microsoft.VisualStudio.Web.PageInspector.Runtime.Startup, Microsoft.VisualStudio.Web.PageInspector.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. 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.

我该怎么办?

what should i do??

推荐答案

添加OWIN启动类名称: Add OWIN Startup class name it : Startup

然后启用服务:)

then enable the service :)

public void Configuration(IAppBuilder app) { app.MapSignalR(); }

更多推荐

我在安装Package Signalr时遇到此错误

本文发布于:2023-11-12 07:39:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580899.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我在   错误   Package   Signalr

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!