Listing the dlls used by a .NET app and static linking

  • Thread starter Thread starter James A. Bowery
  • Start date Start date
J

James A. Bowery

Is there a tool that lists out all the .NET framework dynamically
loaded libraries that are going to be loaded by a .NET exe?

Also, is there an easy way to statically link a .NET application so
that the .NET framework doesn't need to be installed on the target
machine?
 
Is there a tool that lists out all the .NET framework dynamically
loaded libraries that are going to be loaded by a .NET exe?

Yes and no .. for the ones that have references added this is readily
available. The assembly may however use Assembly.Load() Assembly.LoadFrom
etc in which case this information would not be available.
http://www.codeproject.com/dotnet/Assemblydependencies.asp?df=100&forumid=31276&exp=0&select=977211
includes an example application which does this .. it is realtively straight
forward.
Also, is there an easy way to statically link a .NET application so
that the .NET framework doesn't need to be installed on the target
machine?

Salamander and some others support things such as this
http://www.remotesoft.com/linker/

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung
 
Back
Top