Use a different *.config file, depending on IIS application pool .NET version
- by LeeCambl
I'm looking or a way to programmatically determine which version of the .NET Framework an application pool is using in IIS, at runtime, and for a website application to then use that information to choose which *.config file it should use. Is it possible? I'm not sure where to begin.
Quite a broad question, and I'm open to any method of solving the problem, so fire away!
Thanks in advance, you lovely Stack Overflowers!