AnsweredAssumed Answered

Visual Studio 2017 & SolidWorks 2019

Question asked by Casey Balderson on Mar 20, 2019
Latest reply on Aug 11, 2020 by Derek Eldridge

I am going nuts here. I am comfortable with VBA, and ready to move into .NET. Since SolidWorks is moving into VSTA 3.0 and axing VSTA 1.0, I thought it would be a good idea to just start my DEVentures straight into 3.0. I installed Visual Studio Community 2017, Installed SolidWorks 2019 SP2.0 (making sure to check "visual studio tools for applications" during installation, I followed the link for VSTA runtime installation found here (2018 SOLIDWORKS API Help - Microsoft Visual Studio Tools for Applications (VSTA) ), and I installed the SolidWorks API SDK (likely irrelevant to this problem). I am on a fresh new Windows 10 Pr image with .NET framework 3.5 (includes .NET 2.0 and 3.0) and .NET Framework 4.7.

I cannot get SolidWorks to record, edit, or start a new VSTA 3.0 no matter what I try. I have installed just about every .NET related package Visual Studio 2017 allowed me to, and still no success. Also, SWVBAddin doesn't show up in Visual Studio Community 2017 as a new template after installing the SolidWorks API SDK.

And, I cannot download Visual Studio Community 2015 any longer, as i appears Microsoft has pulled that download, and only has Pro and enterprise.

I am confident that .NET is my next step in the SolidWorks API, and recording macros is a huge help for me in learning the language. I have some JavaScript experience, and have created some pretty powerful VBA macros, but I've hit a wall here.

Can anyone help me get SolidWorks to record a .NET Macro using VSTA 3.0 and showing the templates in Visual Studio Community 2017?