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

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

    In my case the problem occurred in a virtual application's bin folder. Looking into this bin-folder you will probably see two files (an information I found here):

    • App_global.asax.dll
    • App_global.asax.compiled

    Removing these resolves the error. The App_global.asax.dll is generated at runtime too which causes the problem. I am however still investigating how these files got there, so comments are definitely welcome!

提交回复
热议问题