This website uses cookies to ensure you get the best experience on our website. By using our website you agree on the following Cookie Policy, Privacy Policy, and Terms Of Use
Unlike VBA macros VSTA macros are compiled in-process applications based on .NET Framework.
The main difference is source code and binaries (deliverables) are separate elements.
In order to run the macro it is required to compile it. .NET applications are using interops to communicate with COM objects (such as SOLIDWORKS).
Which means that it is required to have interops copied locally to run the macro.
Resolution
Copy all files in the output (bin) directory as the deliverables. You may exclude .pdb and .xml files as those are used for debugging and documentation purposes