This will return a string like .NETFramework,Version=v4.7.2 or .NETCoreApp,Version=v8.0 . Method 3: Developer Tools
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. Check Dll .net Version
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. This will return a string like