Click here to Skip to main content
15,886,095 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 6-Sep-12 21:27pm
v2

1 solution

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).
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900