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

2021-03-05 04:26

阅读:330

标签: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


评论


亲,登录后才可以留言!