VS 2019 Project Template not found

Moderator: cpp4robots_admin

surfrider
Posts: 9
Joined: 18 Jan 2021 17:03
Contact:

VS 2019 Project Template not found

Post by surfrider »

In stalled Visual Studio 2019 with the Cpp4Robots extension.
Toolbar is visible, I can open the example projects in the Program Files folder.
But when I try to create a new project, the Project Template is not found.

Any ideas?
cpp4robots_admin
Administrátor fóra
Posts: 21
Joined: 04 Nov 2020 14:34
Contact:

Re: VS 2019 Project Template not found

Post by cpp4robots_admin »

Hi,

can you check if "Desktop development with C++" is included in your Visual Studio installation?
  • Start Visual Studio Installer(C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe)
  • Press the button "Modify"
  • Check the component "Desktop development with C++"
vs1.png
vs1.png (30.74 KiB) Viewed 2036 times

Cpp4Robots Support
surfrider
Posts: 9
Joined: 18 Jan 2021 17:03
Contact:

Re: VS 2019 Project Template not found

Post by surfrider »

Yes, "Desktop development with C++" is installed. Both that is the online installed workload.

Maybe one of the others is needed?
Attachments
vs2019_cpp4robots.jpg
vs2019_cpp4robots.jpg (143.38 KiB) Viewed 2033 times
cpp4robots_admin
Administrátor fóra
Posts: 21
Joined: 04 Nov 2020 14:34
Contact:

Re: VS 2019 Project Template not found

Post by cpp4robots_admin »

1. Can you see this zip file? c:\Users\<user>\Documents\Visual Studio 2019\Templates\ProjectTemplates\Cpp4Robots\Lego\LegoEV3.zip

2. Can you select these options when creating a new project?
Language: C++
Platform: Lego Mindstorms
Project type: Cpp4Robots
vs2.png
vs2.png (20.47 KiB) Viewed 2027 times

3. You can start Visual Studio with logging.
Example: c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe /log "c:\Temp\vslog.txt"
Then send me this log file to email: support@cpp4robots.cz

Cpp4Robots Support
surfrider
Posts: 9
Joined: 18 Jan 2021 17:03
Contact:

Re: VS 2019 Project Template not found

Post by surfrider »

Item 1 might be the problem.
The Template Zip file is is C:\<User>\Documents .... folder as you have written.
But that is not the location of the "my documents" folder.
I think your installer does not use the "my documents" folder location but is hard coded to the standard my documents folder.

I copied the Cpp4Robots folder (including the zip file) to the correct folder. Now the template is found and it works.
cpp4robots_admin
Administrátor fóra
Posts: 21
Joined: 04 Nov 2020 14:34
Contact:

Re: VS 2019 Project Template not found

Post by cpp4robots_admin »

Hi,

We are pleased that the repair was successful.

You can tell us exactly which way was right and which was wrong.
Thank you very much.

Cpp4Robots Support
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests