Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0 VS2010 .NET4
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
Edited 6-Sep-12 21:27pm
v2

1 solution

Rate this: bad
good
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).
  Permalink  
Comments
Oleksandr Kulchytskyi at 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
0 CHill60 360
1 Sarvesh Kumar Gupta 238
2 OriginalGriff 163
3 Sergey Alexandrovich Kryukov 163
4 DamithSL 153


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