Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out which version of the .NET Framework an executable needs to run?

I've got an executable file, and I would like to know which version(s) of the Microsoft .NET Framework this file needs to be started.

Is there an easy way to find this information somewhere?

(So far I tried ILDASM and DUMPBIN without any luck.)

like image 660
Sam Avatar asked Nov 28 '08 14:11

Sam


People also ask

Which version of .NET framework should I use?

You need whatever versions of . Net Framework are required by the applications you have and want to run properly. Usually, the required version will be included in the application's installer. If you are not experiencing any problems running applications, then you don't need to install any .

How do I check my .NET framework version online?

You can check your installed versions of . NET by navigating to Microsoft.NET\Framework under your Windows folders. The complete path is usually 'C:\Windows\Microsoft.NET\Framework. Each of the installed .


1 Answers

Using Notepad, three decades old, 200kb in size, preinstalled tool:

  • open application with notepad appname.exe,
  • search for word "framework",
  • repeat last search with F3 until .NET Framework,version=vX.Y shows up
  • if nothing found (versions below 3.0) search for v2. ... still 100 times easier then installing gigabytes of dot net analyzer tools and garbage studios.

Any other editor/viewer can open binaries too, like Notepad++ or totalCommander's great text/hex viewer lister.

like image 54
Asain Kujovic Avatar answered Oct 06 '22 02:10

Asain Kujovic