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

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


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

posted @ 2020-05-18 19:04  _York  阅读(292)  评论(0编辑  收藏  举报