修改了项目名称后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

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

上一篇:Lua在Windows下的安装、配置、运行


下一篇:Linux之间或Linux和Windows之间互传文件