I have c# asmx service project that was running on framework 2 with vs 2008 Now i have updated it to framework 4 with vs 2010
when i build dll in debug mode it compiles successfully but when i build in release mode i get the following error:
Error 51 Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. C:\Service\MycService\SGEN
UPDATE: Ok, I change the framework to 3.5 from project properties its build ok in release mode, but what's the problem in framework 4.0. I need it to be working in framework 4.0