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

后端 未结 10 983
一个人的身影
一个人的身影 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:52

    In my case I have added DLL from local to stage site.

    0 讨论(0)
  • 2020-12-04 23:52

    I just Clean Solution and Build Solution then solved!

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-04 23:55

    In my case the problem was caused by accidentional removal of "PrecompiledApp.config". As soon as i returned the file everything started working normally.

    0 讨论(0)
提交回复
热议问题