Compilation Error: The type 'ASP.global_asax' exists in both DLLs

后端 未结 10 1077
一个人的身影
一个人的身影 2020-12-04 23:06

I have just integrated another project pages and its dlls into my existing project\'s Bin/ folder. My project framework is 3.5. When i am trying to build the project or solu

10条回答
  •  暖寄归人
    2020-12-04 23:54

    I struggled with this issue in .NET 4.5 in VS2013 for a while before finding a solution that worked:

    • Manually deleting the contents of the ASP.Net project's bin-folder. Clean/Rebuild was insufficient. It didn't delete enough apparently ;)

    The error persisted after adding the batch="false"attribute in the compilation-element of web.config.

    It also did not help to delete the ASP.Net Temporary Files-directory either.

提交回复
热议问题