Hi,
In app.config of my c# project, i have written the following lines
<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
<supportedRuntime version="v2.0" sku=".NETFramework,version=v2.0.50727"/>
</startup>
</configuration>