Make sure you have some lines similar to this, immediately before the definition of the main class in your addin:
Description:="Description of your addin", _
Title:="Title of your addin", _
Public Class MainClassInYourAddin
Hello, I have disposed the error! But now happens nothing! There are no attaching! With what can it be connected? I attach the project below. Thank you in advance!
SolidTest.rar.zip 73.7 KB
Firstly, you are targeting .Net 4.5
SolidWorks 2013 uses 4.0, so change that in the Project settings.
Next, put a breakpoint in the ConnectToSW function and step through line by line. I suspect that there is a bug in it which will prevent that function from returning "True"