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
In my case I have added DLL from local to stage site.
I just Clean Solution and Build Solution then solved!
I struggled with this issue in .NET 4.5 in VS2013 for a while before finding a solution that worked:
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.
In my case the problem was caused by accidentional removal of "PrecompiledApp.config". As soon as i returned the file everything started working normally.