Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > C# 4.0 aka C# 2010 General Discussion
|
C# 4.0 aka C# 2010 General Discussion Discussions about the C# 4.0, C# 4, Visual C# 2010 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 4.0 aka C# 2010 General Discussion 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 September 7th, 2011, 08:27 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nalla Send a message via Yahoo to nalla
Default Reflections - How to load unloaded dependencies

Hi,
I'm loading assemblies using reflections. When loading some assemblies it throws as exception saying that

"Could not load file or assembly 'MyAssemblyname, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.":"MyAssemblyname, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"

This is Ok because there is a dependency(assembly) which the original assembly refers and which was not loaded.

My question is how can I load the unloaded assembly by identifying these dependencies dynamically when an assembly failed to load due to these kind of dependencies.

Cheers
Nalaka
__________________
nalaka hewage
http://nalakahewage.blogspot.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with two data sources and dependencies par roy_mm Reporting Services 1 November 14th, 2006 02:27 AM
Access Object Dependencies apologia315 Access 0 July 31st, 2006 12:37 PM
Object Dependencies tweetweet BOOK: Access 2003 VBA Programmer's Reference 1 June 7th, 2006 01:43 PM
Validate dependencies using Schema/XSLT shumba XSLT 4 March 22nd, 2006 04:45 PM





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