Click here to Skip to main content
12,952,281 members (51,496 online)
Rate this:
Please Sign up or sign in to vote.
Hi guys.
Can anybody advice to me, how to get list of essemblies which loaded after execution some piece of code which reffers to third-party SDK's.

The problem lies in next:
I have installed ClearCanvas SDK's. In my project i use some assemblies from this sdk for query and move operation against specific data.
My project references for one assembly from this SDK, as a result , i add this assembly to deploy package.
When this deploy package is deployed on remote PC, i start this application, and when i try to invoke some action which reffer to this sdk, CLR throw an exception, that it cannot find some plugins(assemblies).

I won't be able to deploy this sdk on remote machine, by reason of it size.
The main idea is to add assemblies which only needs fro some specific task.
So how can i get a list of assemblies which CLR is loaded after some specific code had been executed ?
Is it possible to get list of assemblies, which CLR is loaded after i had performed debugging action in Visual Studio?
Posted 6-Sep-12 21:21pm
Updated 6-Sep-12 21:27pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you are using statically bound functionality, then use Reflector to see the references within the DLL you are using and add those files to your deployment.

If the component is using late/runtime binding then there is no way to know other than using the application and testing where you get errors and adding the needed assemblies (you can add all the files needed of course).
Oleksandr Kulchytskyi 7-Sep-12 3:49am
Well actually i'm using static bound functionality, and reffer to one assembly , which in turn use late/rutime binding.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,239
CHill60 3,490
Maciej Los 3,083
Jochen Arndt 1,975
ppolymorphe 1,880

Advertise | Privacy | Mobile
Web01 | 2.8.170525.1 | Last Updated 7 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100