[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 594
  • Last Modified:

.Net 4.0 and AppDomain.Load

Hi,
I have found a nice example on loading assemblies using AppDomain here: http://blogs.claritycon.com/blogs/steve_holstad/archive/2007/06/28/3212.aspx

What I need to ask is this: What if I don't know the typeName or the namespace of an assembly. One way of loading is to use AppDomain.Load() function but this is deprecated in .Net 4.0!

Can somebody give me an example of loading assemblies dynamically in a separate appdomain. Again in my case, I just know the name of the assembly.
0
m_mendoza
Asked:
m_mendoza
1 Solution
 
m_mendozaAuthor Commented:
To make it clear, assemblies are coming from third parties and we absolutely don't know the type name or namespace.
0
 
swapneel_d14Commented:
I am assuming third parties  assemblies are developed in dotnet ..u can Consider to use Reflector to find out namesape ,typename or methodname for ..

Check this free tool - http://www.lutzroeder.com/dotnet/
open your 3rd party assembly and click on anyalyse to see code.

or you can use more advanced here - http://www.red-gate.com/products/reflector/ 
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now