Jump to content
Xtreme .Net Talk

Recommended Posts

  • Leaders
Posted

What string is expected in the Load method of Assembly? I've tried the namespace.projectname, projectname, projectname.namespace, it still doesn't find it. I've got the project for this assembly in the same solution that I'm trying to use it, just as a separate project. Thanks for any help.

 

 

Dim assm As [Assembly]
assm = System.Reflection.Assembly.Load("Plugins.SamplePlugin")

--tim
  • Leaders
Posted
Thanks Thinker, I guess I got so focused on trying to make the Load method work that I didn't even investigate alternatives. I'm was just trying to get it working, now I need to go back and make sure I fully understand what it's doing and the relationship between loading an assembly and creating an instance from it, as I'm not real sure why I need to load it if I can simply create an instance straight from the assembly. Thanks again
--tim

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...