Sample/boilerplate Visual Studio VB.NET project

Sample/boilerplate Visual Studio VB.NET project

Anonymous
Not applicable
1,056 Views
9 Replies
Message 1 of 10

Sample/boilerplate Visual Studio VB.NET project

Anonymous
Not applicable

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

0 Likes
Accepted solutions (1)
1,057 Views
9 Replies
Replies (9)
Message 2 of 10

tyler.warner
Advocate
Advocate
Accepted solution

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

Anonymous
Not applicable
Oh, that's amazing, I had no idea. Thanks!
0 Likes
Message 4 of 10

Anonymous
Not applicable

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?

0 Likes
Message 5 of 10

tyler.warner
Advocate
Advocate

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

Anonymous
Not applicable

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?

0 Likes
Message 7 of 10

tyler.warner
Advocate
Advocate

@Anonymous 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.
0 Likes
Message 8 of 10

Anonymous
Not applicable
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.
0 Likes
Message 9 of 10

tyler.warner
Advocate
Advocate

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.
0 Likes
Message 10 of 10

Anonymous
Not applicable
Thanks, I will, and I'll report back or else mark that as another solution.
0 Likes