Wrox Programmer Forums
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 28th, 2009, 01:56 AM
Authorized User
 
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reflection restriction

Hi,

I am usinng reflection to load assembly in my application. The DLL which i loaded is referring to another DLL. So when i use reflection , i am unable to acess methods of the dependent DLL.

Eg.

Assembly.Loadfrom("MyDLL.Dll");

MyDLL referes another Dll called "DependenetDll.Dll"

I am unable to refer the method of "DependenetDll.Dll"

Any thoughts.................
 
Old May 28th, 2009, 03:48 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Well you could always call GetReferencedAssemblies on the returned Assembly instance.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Access Restriction directly vinod_yadav1919 Javascript How-To 9 November 2nd, 2011 06:33 AM
Restriction to certain applications PankajGarg10 General .NET 0 April 13th, 2007 01:08 AM
xsd:restriction zas XML 0 November 1st, 2005 10:43 PM
Search restriction Snib Forum and Wrox.com Feedback 0 August 13th, 2004 11:02 AM
By pass Scripting Restriction hrishimusale HTML Code Clinic 2 July 18th, 2004 11:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.