Page 1 of 1
VS 2019 Project Template not found
Posted: 18 Jan 2021 17:07
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?
Re: VS 2019 Project Template not found
Posted: 19 Jan 2021 08:10
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 (30.74 KiB) Viewed 2035 times
Cpp4Robots Support
Re: VS 2019 Project Template not found
Posted: 19 Jan 2021 10:31
by surfrider
Yes, "Desktop development with C++" is installed. Both that is the online installed workload.
Maybe one of the others is needed?
Re: VS 2019 Project Template not found
Posted: 19 Jan 2021 13:38
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 (20.47 KiB) Viewed 2026 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
Re: VS 2019 Project Template not found
Posted: 19 Jan 2021 20:52
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.
Re: VS 2019 Project Template not found
Posted: 20 Jan 2021 12:19
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