I'm bundling the ngen.exe for .net 2.0 and .net 4.0 with my .net 3.5 application inside NSIS installer. I don't find any other method to do it so i'm bundling it.
I have following in my app.config file.
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
I'm also using other app.config which doesn't have code from above. Other app.config only used when there is .net 3.5 installed on pc. my question is which version of ngen.exe should i use if user doesn't have .net 3.5 installed?