This will return a string like .NETFramework,Version=v4.7.2 or .NETCoreApp,Version=v8.0 . Method 3: Developer Tools
These free third-party decompilers show the target framework version immediately in the assembly information pane when you load a DLL. Method 4: Quick Text Search Determine .NET Framework version for dll - Stack Overflow Check Dll .net Version
You can use reflection in PowerShell to find the exact TargetFrameworkAttribute embedded in the DLL. Open . This will return a string like
For many .NET Framework DLLs, the version is visible in the file properties. Right-click the file and select Properties . Go to the Details tab. Go to the Details tab
If you have Visual Studio installed, you can use specialized disassemblers to inspect metadata:
Open the Developer Command Prompt , run ildasm yourfile.dll , and double-click Manifest . Look for the .custom instance void [mscorlib]System.Runtime.Versioning.TargetFrameworkAttribute entry.