views:

44

answers:

2

I have a bit of mess with projects coming some on 4.0 some on 3.5

Is it possible to find out what version of .NET was the dll built looking into the file (not from code!) ?

+4  A: 

You could use ildasm.exe:

ildasm assembly.dll

Then double click on MANIFEST and look at the version:

  • Metadata version: v4.0.30319 (CLR 4.0, meaning .NET 4.0)

  • Metadata version: v2.0.50727 (CLR 2.0, meaning .NET 2.0 to .NET 3.5)

Darin Dimitrov
+1  A: 

Ildasm (comes with VS) can show you what version of the framework DLLs it's referencing.

Will Dean