ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
TSThomas Sherer19/05/2011

     Morning all, I am building a new addin, from scratch, not the SDK kit, using VB 2010 Express. I am just getting off the ground with the process, and have found myself unable to manually register the .dll file (the addin) using regasm.exe. I repeatedly got the error:

RA0000: Unable to locate input assembly 'C:Users\Me\Documents\Visual' or one of its dependencies.

     Unfortunately, this is not the location that I directed regasm to look, it was directed to ...Documents\Visual Studio 2010\Projects\SWAddin\SWAddin\bin\Debug\SWAddin.dll

     So I took a guess and assumed that the regasm could not deal with a directory with spaces, so I moved the project directly to my C:\, rebuilt it, and tried to run regasm again, this time I got a  different error:

Failed to load 'C:\SWAddin\SWAddin\bin\Debug\SWAddin.dll' because it is not a valid .NET assembly.

I have been researching this a little bit, and found almost no useful information or solutions. The assembly is signed, and with with a freshly generated Guid courtesy of AngelSix.com's Generator. Actually nearly all of the existing code is straight from their API book as well. I am at a loss for what else to do. Any ideas or suggestions would be much appreciated.