![](/img/trans.png)
[英]Compiler error CS0433 - The type exists in both GAC and Temporary ASP.NET files
[英]CS0433: The type 'X' exists in both 'A' and 'B' - Clear Temporary ASP.NET Files from Azure AppService as part of Azure Devops release pipeline?
当我尝试访问该网站时,出现标题错误。 在Azure上的App Services上运行的Web应用程序项目。 通过Azure Devops进行部署。
当在本地时,我曾经手动删除了临时ASP.NET文件,该站点将重新编译,并且不再会出现此问题。 但是现在我试图在Azure Devops上创建发布管道并遇到此错误,因此,如果实际上我必须在每次部署时清除这些文件,那么它将成为我管道的一部分。 这是正确的方法吗? 如果是这样,怎么办?
我仍然不确定如何清除临时的asp.net文件,但可以通过在web.config中添加以下行来绕过该问题:
<compilation batch="false"...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.