0

If a Visual Studio 2010 project references an external DLL:

  • How can you find out what version of the Framework the DLL targets?
  • Does the project need to target that version of the Framework as well?
CJ7
  • 22,579
  • 65
  • 193
  • 321
  • The project's framework must be the ddl framework, minimum. Else you can not add them. – kostas ch. Oct 25 '13 at 13:31
  • You have nothing to do, If it is higher version than current project VS will complain you – Sriram Sakthivel Oct 25 '13 at 13:32
  • Its already answered elsewhere. Please check - http://stackoverflow.com/questions/3460982/determine-net-framework-version-for-dll – Nanda Kishore Oct 25 '13 at 13:42
  • An assembly doesn't target a .NET Framework version, it targets a CLR version. That got murky in .NET 4.5, you can see the [TargetFramework] attribute with a decompiler like ildasm.exe – Hans Passant Oct 25 '13 at 13:50

0 Answers0