InvalidDeploymentException and System.ArgumentException after converting my Addin to SW2010

Hello,

after updating my VB Addin Project (Visual Studio 2005) to SW2010 I get some Exceptions while starting SolidWorks with the Debugger:

System.Deployment.Application.InvalidDeploymentException

System.IO.FileNotFoundException

System.ArgumentException

I have unregistered my addin and used the standard addin, but this didn´t solve the problem.

It seems to happen after the ConnectToSW() is finished.

Any Idea.

TIA,

Matthias Senff

SolidworksApi macros