I am currently facing an issue where a mixed mode dll is unable to load in .net 4.0 when invoked dynamically. I am getting the following exception:
Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.I got to know that adding a config file with the follwoign info in the app would help:<configuration>ÃÂ <startup useLegacyV2RuntimeActivationPolicy="true">ÃÂ ÃÂ ÃÂ <supportedRuntime version="v4.0"/>ÃÂ </startup></configuration>Now, the issue is, this dll can be used by many apps in Dev10. I need some mechanism to add config file with the dll, so that it works whenever the dll get loaded.Is there a way to have dll.config file?
View Complete Post