Visual Studio Projects Templates for Inventor Not Available On One Workstation

Visual Studio Projects Templates for Inventor Not Available On One Workstation

fawcrc
Contributor Contributor
1,269 Views
2 Replies
Message 1 of 3

Visual Studio Projects Templates for Inventor Not Available On One Workstation

fawcrc
Contributor
Contributor

My office workstation is running Windows 10 Pro. I've placed the VBInventorAddInTemplate2024.zip and VCSInventorAddInTemplate2024.zip Visual Studio project templates in C:\Users\...\Documents\Visual Studio 2022\Templates\ProjectTemplates. When I launch Visual Studio 2022 on my office workstation, the Inventor project templates do not appear in the template selection list.

 

I'm running Windows 11 Pro for Workstations on my home office workstation. I placed the project templates for Inventor in the ProjectTemplates folder, and when I run VS 2022, they are available.

 

VS2022_Inv_Proj_Tmplts.png

 

Both installations are of the same version of Visual Studio 2022: Microsoft Visual Studio Community 2022, Version 17.9.0, VisualStudio.17.Release/17.9.0+34607.119, Microsoft .NET Framework
Version 4.8.09032.

I've removed and reinstalled Visual Studio on my office workstation.

 

How do I get the Visual Studio project templates for Inventor to appear in Visual Studio on my office workstation?

0 Likes
Accepted solutions (1)
1,270 Views
2 Replies
Replies (2)
Message 2 of 3

davidt162003
Advocate
Advocate

definitely not the best solution but have you tried creating the project and on your home workstation and then just uploading it to source control or passing it as a just the solution file

HII
0 Likes
Message 3 of 3

fawcrc
Contributor
Contributor
Accepted solution

Hi, davidt162003. Thanks for responding. I found the source of the problem and the solution.

 

After exporting a project to create a template, the new template did not appear when I created a new project. I checked various options for Visual Studio and discovered that my User project template location and User item template location paths were set to:

C:\Users\<MyUsername>\<OneDrive_CorpFolder>\Documents\Visual Studio 2022\Templates\ProjectTemplates

C:\Users\<MyUsername>\<OneDrive_CorpFolder>\Documents\Visual Studio 2022\Templates\ltemTemplates

 

I changed them to:

C:\Users\<MyUsername>\Documents\Visual Studio 2022\Templates\ProjectTemplates

C:\Users\<MyUsername>\Documents\Visual Studio 2022\Templates\ltemTemplates

 

Now, all the templates are available when starting a new project. I don't know why the Visual Studio installer set those two options to my OneDrive folder on this workstation.