I want to know if there is a way to get all installed .NET applications and their target frameworks on a computer. I have been able to query all installed applications using WMI, VBScript and PowerShell but I can’t find a way to detect the runtime or target framework version they are using. The results do not contain the path to the executables which I need to detect the runtime/target.
I was able to use CorsFlags.exe and reflection to get the runtimes of all exes recursively starting from the C drive but it spits out all applications not the ones installed.
Is there a script/tool for this? Any help/recommendation will be appreciated.