Error Message "Unable to initialize the Add-In component"

I created a simple macro in SW VB net and have the dll file in the program bin folder

When I tried to open this file SW, I am getting the above message

I tried to register that file and following is the result.

Run this from command prompt as administrator.

C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727/regasm.exe /tlb C:\\Program Files\\SolidWorks Corp\\SolidWorks/test.dll
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.4927
Copyright (C) Microsoft Corporation 1998-2004.  All rights reserved.

RegAsm : error RA0000 : Unable to locate input assembly 'C:\\Program' or one of its dependencies.

I am using Windows 7 64bit

SolidWorks 2012 SP5

Is there a proper proceedure to create an Add-In from a .dll file or am I missing something?

Thanks,

JOHN

SolidworksApi macros