修改了项目名称后OwinStartup报错,是bin目录下生成了2个dll,删除原来项目dll可以解决
Posted tangchun
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了修改了项目名称后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可以解决的主要内容,如果未能解决你的问题,请参考以下文章
WebStorm 项目中修改了文件名,提交到SVN 的两个报错。
myeclipse 修改项目名Tomcat启动项目报错java.lang.IllegalArgumentException: Can't convert argument: null(示例代码
在android studio上导入旧项目后报错提示:Your project file contains non-ASCII characters.