Hello,
is there a tool around that given an assembly shows the referenced
assemblies???
Any code snippet to do this programmatically???
Regards,
Bob Rock 8 2193
Bob Rock wrote: Hello,
is there a tool around that given an assembly shows the referenced assemblies??? Any code snippet to do this programmatically???
The framework SDK has a sample called ADepends. It's in
"Tool Developers Guide\Samples\adepends"
under the SDK directory.
--
mikeb
Bob Rock wrote: Hello,
is there a tool around that given an assembly shows the referenced assemblies??? Any code snippet to do this programmatically???
The framework SDK has a sample called ADepends. It's in
"Tool Developers Guide\Samples\adepends"
under the SDK directory.
--
mikeb
"Bob Rock" <no***************************@hotmail.com> wrote in
news:ea**************@TK2MSFTNGP12.phx.gbl: Hello,
is there a tool around that given an assembly shows the referenced assemblies??? Any code snippet to do this programmatically???
Bob,
Look up the System.Reflection.Assembly.GetReferencedAssemblies
method in the help file. It isn't documented very well, so you may
also want to search Google groups (groups.google.com) and MSDN
(msdn.microsoft.com) for more info on how it's used.
Hope this helps.
Chris.
-------------
C.R. Timmons Consulting, Inc. http://www.crtimmonsinc.com/
"Bob Rock" <no***************************@hotmail.com> wrote in
news:ea**************@TK2MSFTNGP12.phx.gbl: Hello,
is there a tool around that given an assembly shows the referenced assemblies??? Any code snippet to do this programmatically???
Bob,
Look up the System.Reflection.Assembly.GetReferencedAssemblies
method in the help file. It isn't documented very well, so you may
also want to search Google groups (groups.google.com) and MSDN
(msdn.microsoft.com) for more info on how it's used.
Hope this helps.
Chris.
-------------
C.R. Timmons Consulting, Inc. http://www.crtimmonsinc.com/
For a gui tool, .net reflector is nice.
--
William Stacey, MVP
"Bob Rock" <no***************************@hotmail.com> wrote in message
news:ea**************@TK2MSFTNGP12.phx.gbl... Hello,
is there a tool around that given an assembly shows the referenced assemblies??? Any code snippet to do this programmatically???
Regards, Bob Rock
For a gui tool, .net reflector is nice.
--
William Stacey, MVP
"Bob Rock" <no***************************@hotmail.com> wrote in message
news:ea**************@TK2MSFTNGP12.phx.gbl... Hello,
is there a tool around that given an assembly shows the referenced assemblies??? Any code snippet to do this programmatically???
Regards, Bob Rock
Assuming "asm" is a reference to an existing assembly, then the
referenced ones' names can be retrieved via:
System.Reflection.AssemblyName[] refs =
asm.GetReferencedAssemblies();
Unfortunately, this is just the assembly names, not the actual
assembly references that you may find useful.
I'd also be interested if anyone knew a way to get to the actual
referenced assemblies.
Assuming "asm" is a reference to an existing assembly, then the
referenced ones' names can be retrieved via:
System.Reflection.AssemblyName[] refs =
asm.GetReferencedAssemblies();
Unfortunately, this is just the assembly names, not the actual
assembly references that you may find useful.
I'd also be interested if anyone knew a way to get to the actual
referenced assemblies. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bob Rock |
last post by:
Hello,
is there a tool around that given an assembly shows the referenced
assemblies???
Any code snippet to do this programmatically???
Regards,
Bob Rock
|
by: Jimi |
last post by:
Given a C# project file path, can I use reflection to get all the
assemblies referenced by the project?
e.g., I know the path of a C# project, say, "c:\SomeProject.csproj",
and I want to load...
|
by: Daniel Perron |
last post by:
Hi,
I was trying to use Galois.Net to specify code generators and I had to look for
some text template tool to simplify the syntax. I was looking for something similar
to the syntax of an...
|
by: sarge |
last post by:
error PRJ0019: A tool returned an error code from "Copying assemblies
to target directory..."
I got this when I added a reference to a project. The reference was to
a dll created in another...
|
by: BH |
last post by:
My question may be a bit odd. Right now I can see that all referenced
assemblies in my project are compiled into the application assembly so when
I deploy the application, I don't see those...
|
by: David |
last post by:
From what I have been reading, I can use the VBC.exe tool to recompile a
site. But I'm not sure how to do this. I simply want to recompile the vb
files in my website. I am not a programmer and...
|
by: Nathan Wiegman |
last post by:
Hi,
I am using the XSD utility to generate schemas for some of the classes that
we serialize in our project. Everything works fine and dandy until I try and
create a schema for a class that...
|
by: Anders |
last post by:
Hi
We have used Resharper with great results the last year. But thier EAP 2,0
verison is at current state useless.
Does anyone know a tool which give the posiblity to auto import namespace...
|
by: Venkat |
last post by:
Hi,
My application is splitted into more than one assembly. And I
want to clean up the methods which are not called or not used among any of
the assemblies. And also I want to remove the code...
|
by: Mike Bromwich |
last post by:
Hi
Our product can interact with a number of third party assemblies, as
long as the customer has purchased and installed these libraries. We
do not want to add references to these assemblies...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |