Higune
Higune

Reputation: 653

With which .NET-Framework was a DLL generated

it is possible to get the information with which .NET Framework version a DLL was generated?

Thanks

Upvotes: 1

Views: 85

Answers (2)

Tobias Brandt
Tobias Brandt

Reputation: 3413

This information is stored in the TargetFramework attribute of the assembly. You can read it with a tool like ILSpy, or by using reflection.

Upvotes: 1

Mr. Mr.
Mr. Mr.

Reputation: 4285

Yes with dotPeek (or other similar tools, such as JustDecompile, .NET Reflector, ILSpy) you can view the property of an assembly.

You can see the framework version here

Upvotes: 1

Related Questions