0
votes

I can build project in debug mode, when I change to Release mode show this message:

The assembly mix mode was compiled in relation of version 'v2.0.50727' in runtime and do not be loaded in runtime 4.0 without configuration of additional information

File: SGEN

I don't have this file and I don't know what I can do.

1

1 Answers

0
votes

http://support.microsoft.com/kb/2572158

Add the infomation below to the sgen.exe.config file located at the following location: ..\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\

       <startup useLegacyV2RuntimeActivationPolicy="true">
           <supportedRuntime version="v4.0" />
      </startup>