Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sample/boilerplate Visual Studio VB.NET project

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
meGVGMF
617 Views, 9 Replies

Sample/boilerplate Visual Studio VB.NET project

Hi,

 

I'm coming up against a bit of resistance with my company's system admins, trying to install Visual Studio. I might get it eventually, but right now I have to go without.

But I need to start looking into creating DLL's to help me manage our codebase.

I was wondering if anyone had a very basic sample or boilerplate project I could take a look at, which I'd then compile into my DLL's using something else.

I've never configured a VB.NET project before, and I figure who better to know what sort of configuration is best suited to Inventor/iLogic than the people here.

 

Thanks

9 REPLIES 9
Message 2 of 10
tyler.warner
in reply to: meGVGMF

A handful of useful resources are included with your Inventor program, including sample add-ins or standalone applications in VB.NET, C#, etc. You can find those by running the below installer according to your current Inventor version. There is a detailed walkthrough here.

C:\Users\Public\Documents\Autodesk\Inventor 2022\SDK\developertools.msi

 

---

@JelteDeJong has some great instructions on his site for how to create & modify an add-in here.

 

---

Or you can find an older VS template from Brian Ekins here & related blog/paper here.

 

If this solved your problem or answered your question, please click ACCEPT SOLUTION.
If this helped you, please click LIKE.
Message 3 of 10
meGVGMF
in reply to: tyler.warner

Oh, that's amazing, I had no idea. Thanks!
Message 4 of 10
meGVGMF
in reply to: tyler.warner

As for installing Visual Studio, do you happen to know what the minimum requirements are?

 

It seems like I'd need the .NET Desktop Development package. Is that correct? Is there anything else recommended?

Message 5 of 10
tyler.warner
in reply to: meGVGMF

That is correct, the .NET Desktop Development package is what you'll need. Visual Studio Community is free & can be downloaded from the Microsoft site. The version won't really matter, 2017, 2019 or 2022 can most likely be used without any issues, though the UI & tools are slightly different depending on the VS version. This article was posted above but has some helpful explanations for why things are done the way they are if you're looking at some of the developer tools. This video is also a helpful step-by-step guide through getting starting your add-in development journey.

 

If this solved your problem or answered your question, please click ACCEPT SOLUTION.
If this helped you, please click LIKE.
Message 6 of 10
meGVGMF
in reply to: tyler.warner

It seems like Visual Studio 2022 (Community Edition, the free version, at least) might be incompatible with the developertools.msi in the installation directory, as it continues to say no version of VS could be found when trying to run it, and it looks like no other version of VS is free to download.

 

Is there any chance you could post an archive of the boiler plate files it generates, so I could take a look at the configuration files?

Message 7 of 10
tyler.warner
in reply to: meGVGMF

@meGVGMF take a look at this post. It should solve the problem you're running into.

You can download any version (VS 2017, 2019, 2022) of the community edition & it will be free.

 

If this solved your problem or answered your question, please click ACCEPT SOLUTION.
If this helped you, please click LIKE.
Message 8 of 10
meGVGMF
in reply to: tyler.warner

For all I searched I couldn't find a link to download VS Community 2019 (I'm not sure this ever existed. I think it was rebranded for the 2022 version from 'Express', which is no longer available). The post you linked refers to VS 2019, which is the paid version.
Message 9 of 10
tyler.warner
in reply to: meGVGMF

Here are two links you can try: (link 1), (link 2)

 

If this solved your problem or answered your question, please click ACCEPT SOLUTION.
If this helped you, please click LIKE.
Message 10 of 10
meGVGMF
in reply to: tyler.warner

Thanks, I will, and I'll report back or else mark that as another solution.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report