GlennZarb


I have created a simple msn add-in. I compiled it with vb.net and a .dll was created. When I try to add it into msn this error occurs.

The add-in MyFirst.dll can't be loaded. Make sure that the name of the add-in class matches the file name of the add-in assembly.

I have changed all the names to MyFirst.dll but still I coulnd't do it. Can someone tell me which names I have to change to MyFirst.dll



Re: Windows Live Messenger Add-in

Christian Barkowsky


I have the same error. what must i do to run my add-in .....

tHx
chriz





Re: Windows Live Messenger Add-in

GlennZarb

Any one can help. I have windows live messenger version 8.1. What is the problem





Re: Windows Live Messenger Add-in

Egyde

If your dll is MyFirst.dll, make sure :

1) the class is named "MyFirst"

(... Public Class MyFirst ...)

2) rootname space is null (the textbox in Project\Properties\Application must be empty)





Re: Windows Live Messenger Add-in

Christian Barkowsky

the solution is .... you must add .AddIn to you assembly name.

<AssemblyName>.AddIn

And it works.




Re: Windows Live Messenger Add-in

GlennZarb

Thank you very much. My problem was that in the root namespace I inserted the name of the class.




Re: Windows Live Messenger Add-in

Mario Esposito

I have tried that solution and it didn't work for me.

{environment: Vista, VS2005}

I delete the namespace block from the code and it worked at 1st try.

Looks like that if the names block is in the code even if the name and class matches it won't load.

for newbie:

delete this

namespace YourNameSpaceHereForFree

{

}





Re: Windows Live Messenger Add-in

ChrisW

If you're using namespaces, make sure that you also include the name of the namespace.

For example, if your add-in class is like this:

Code Snippet

namespace Sample

{

public class MyFirstAddin : IMessengerAddIn

{

// ...

}

}


Then your Add-in dll should have the name: Sample.MyFirstAddin.dll





Re: Windows Live Messenger Add-in

sabrown100

I tried that but now when I test it i get no reply, which is what i programmed it to do.



Re: Windows Live Messenger Add-in

XR2

if you wanna make a autoreply add-In, you should see this one, I made (with help):
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2267281&SiteID=1