How to find out which version of dotnet framework is used in an Assembly ?
Consider I have xyz.dll. I need to find out in which version of .net framework is used to build this xyz.dll.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Oct 21, 2010, 10:31 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Oct 25, 2010, 12:01 AM EDT
Manikavelu VelayuthamRank #413 · 6K reputationPosted Oct 25, 2010, 1:00 AM EDT
It wont show the target framework like 3.0 or 3.5 like that.
Because 3.0 & 3.5 falls under the category 2.0.
But i need to findout the target framework.
Suthish NairRank #92 · 22.8K reputationPosted Oct 25, 2010, 1:50 AM EDT
I already given the code, there are couple of methods like GetName().Version will give the framework version also. why dont put a breakpoint and check...
Manikavelu VelayuthamRank #413 · 6K reputationPosted Oct 25, 2010, 1:52 AM EDT
I have analyzed the dll through ILDASM also, there also only the CLR version is provided. I mean 2.0 or 4.0
Suthish NairRank #92 · 22.8K reputationPosted Oct 25, 2010, 2:16 AM EDT