Forum  General Visual ...  Visual WebGui v...  Adding a DLL on runtime
Previous Previous
 
Next Next
New Post 8/31/2011 3:00 AM
  digitalblusnc
6 posts
No Ranking


Adding a DLL on runtime 

Hi,

I would like to add a dll of a user control at runtime. I've done it, but when I open the application that use the dll, the whole project restart....Any error, but the application restart with the start form....Is it possible to avoid this behavior?

Thanks for any suggestions

Regards

Giorgia

Digitalblu snc

 

 

 
New Post 9/2/2011 9:38 AM
  glomax
107 posts
5th Level Poster






Re: Adding a DLL on runtime 

The problem sounds like your user control dll is being saved in the bin folder?  That will cause a restart.   Load the dll to an alternate folder and load dynamically from there.  That's what we do.  :)


Greg Lomax - Gizmox MVP
 
New Post 9/5/2011 11:27 AM
  palli
14323 posts
1st Level Poster




Re: Adding a DLL on runtime 

Hi Digitalblu,

I see that Greg has already posted an advice. Thanks Greg.

Keep in mind that if your dynamically loaded assembly is depending on another assembly not available from the GAC of the server or your application's bin folder, you may get load failures.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 9/6/2011 6:38 AM
  digitalblusnc
6 posts
No Ranking


Re: Adding a DLL on runtime 

Thank you!

Giorgia

 
New Post 9/6/2011 6:38 AM
  digitalblusnc
6 posts
No Ranking


Re: Adding a DLL on runtime 

Ok, thank you!

Giorgia

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Visual WebGui v...  Adding a DLL on runtime
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS