码迷,mamicode.com
首页 > Windows程序 > 详细

修改了项目名称后OwinStartup报错,是bin目录下生成了2个dll,删除原来项目dll可以解决

时间:2020-05-18 20:42:22      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:tin   method   type   direct   tom   服务器错误   参考   errors   tps   

“/”应用程序中的服务器错误。


The following errors occurred while attempting to load the app.
- The OwinStartup attribute discovered in assembly ‘RoadRescue‘ referencing startup type ‘RoadRescue.Startup‘ conflicts with the attribute in assembly ‘ECSystem‘ referencing startup type ‘ECSystem.Startup‘ because they have the same FriendlyName ‘‘. Remove or rename one of the attributes, or reference the desired type directly.
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.

 

 

参考地址:https://blog.csdn.net/weixin_30480583/article/details/97027888

修改了项目名称后OwinStartup报错,是bin目录下生成了2个dll,删除原来项目dll可以解决

标签:tin   method   type   direct   tom   服务器错误   参考   errors   tps   

原文地址:https://www.cnblogs.com/tangchun/p/12912468.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!