首页 > Windows开发 > 详细

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

时间:2020-05-18 20:25:41      阅读:134      评论:0      收藏:0      [点我收藏+]

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


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可以解决

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!