Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / February 2006

Tip: Looking for answers? Try searching our database.

Load an assembly both at design and run time ....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nicola Cisternino - 07 Feb 2006 09:36 GMT
Hi all,
I've developed a custom control that uses a public interface and can be
plugged using external assemblies that implements this interface.
The assembly, therefor, must be loaded dynamically using reflection
(Reflection.Assembly.LoadFrom("<assemblyname")).
Now, all works fine at run time but at design time a
FileNotFoundException exception is raised, ergo: the assembly is missing ...
How i can load the assembly both at design and run time (I'm using .NET
1.1) ?
I've already tried put to the assembly into the "PublicAssemblies"
folder .... without results  :-(
It's very strange... i've also tried to load the assembly using the
complete static path (C:\bla\bla\bla\assembly.dll  ....) .... but at
design time occurs the usual exception ...

Any idea ?
Thanks.
Nicola.
jokiz - 15 Feb 2006 10:42 GMT
i believe controls are not designed to work this way (pluggable) and i
doubt that you'll be able to make this work and function at
designtime...

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.