Check Dll .net | Version
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
If you have Visual Studio installed, you can use specialized disassemblers to inspect metadata:
Run the following command (replace C:\path\to\your.dll with your actual file path): powershell Check Dll .net Version
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.
You can use reflection in PowerShell to find the exact TargetFrameworkAttribute embedded in the DLL. Open . These free third-party decompilers show the target framework
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.
$path = "C:\path\to\your.dll" [Reflection.Assembly]::ReflectionOnlyLoadFrom($path).CustomAttributes | Where-Object $_.AttributeType.Name -eq "TargetFrameworkAttribute" | Select-Object -ExpandProperty ConstructorArguments | Select-Object -ExpandProperty value Use code with caution. You can use reflection in PowerShell to find
Look at the or File version field. While this often reflects the version of the individual library, it frequently corresponds to the .NET version it was built for. Method 2: PowerShell (Most Accurate)