AnsweredAssumed Answered

Using VS community 2017 and properly setup project

Question asked by BJ de Bruijn on Jul 16, 2017
Latest reply on Jul 16, 2017 by BJ de Bruijn



I'm going to write some programs for getting info out of parts (hole locations). After having done absolutely zero programming with SolidWorks/API for a few years I have installed Visual Studio 2017 Community edition, but time has progressed so much that I'm not sure how to commence.

In the past I made a lot of macro's and also some VB.NET programs, with success. For now I'd like to use C#, but that's not mandatory.


Historically I'd copy an example from the Solidworks API Help (like 2017 SOLIDWORKS API Help - Get and Add Sketch Points in Hole Wizard Feature Example (C#) ) and expand on that. But creating a project I see so many templates (Windows Univeral (with blank app, class library, etc), Classic desktop, web, .NET Core etc etc) that I'm not sure on how to commence.


Since I'm a bit rusty... Can someone point me in the right direction so I can get up to speed?


Which C# template should I use to get me a standalone application for starters?

Where do I add the code I want to use?