We have a number of assemblies that are compiled with either .NET 2.0 or .NET 3.5.
Is there a way, via an undocumented table, function, etc - that one could query the list of assemblies in a database and get the .NET version of the assembly?
We have queried sys.assemblies which does contain a variety of assembly information, but does not include the target framework version.
We are upgrading our 08R2 instance to Windows Server 2012 and need to understand which assemblies are currently targeting the .NET 2.0 framework, not the 3.5 framework, so we can target recompiling them (or replacing, as we have a number of assemblies from NuGet packages and it is not clear whether they target .NET 3.5 or not).