I have an asmx C # service project that has been running on framework 2 since vs 2008 Now I updated it to framework 4 on vs 2010
when I build the dll in debug mode, it compiles successfully, but when I build in the release mode, I get the following error:
Error 51 The combination of the mixed mode is built in comparison with the version "v1.1.4322" of the runtime and cannot be loaded into the runtime 4.0 without additional configuration information. C: \ Service \ MycService \ SGEN
UPDATE: Well, I change the framework to 3.5 from the project properties, its building ok in release mode, but that the problem is in the 4.0 framework. I need it to work in framework 4.0
source
share