.Net FW上线报错:The OwinStartup attribute discovered in assembly ‘AppName‘.

本文介绍了在.Net Framework项目上线时遇到的OwinStartup类型冲突问题,详细异常信息显示为相同FriendlyName的两个OwinStartup属性冲突。解决方案包括检查Microsoft.Owin依赖并配置web.config,通过在配置文件中添加appsetting来解决此类问题。
摘要由CSDN通过智能技术生成
阅文时长 | 2.32分钟 字数统计 | 3726.4字符
主要内容 | 1、引言&背景 2、解决方案 3、声明与参考资料
『.Net FW上线报错:The OwinStartup attribute discovered in assembly 'AppName'.』
编写人 | SCscHero 编写时间 | 2022/2/18 PM8:20
文章类型 | 系列 完成度 | 已完成
座右铭 每一个伟大的事业,都有一个微不足道的开始。

一、引言&背景   完成度:100%

a) 应对问题

近日上线遇到个问题,主要异常为:The OwinStartup attribute discovered in assembly ‘AppName’ referencing startup type ‘AppName.Startup’ conflicts with the attribute in assembly ‘AppName’ referencing startup type ‘AppName.Startup’ because they have the same FriendlyName ‘’.Remove or rename one of the attributes, or reference the

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值