VS 2019 Project Template not found

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: VS 2019 Project Template not found

Re: VS 2019 Project Template not found

by cpp4robots_admin » 20 Jan 2021 12:19

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

Re: VS 2019 Project Template not found

by surfrider » 19 Jan 2021 20:52

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

by cpp4robots_admin » 19 Jan 2021 13:38

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 1704 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

by surfrider » 19 Jan 2021 10:31

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 1710 times

Re: VS 2019 Project Template not found

by cpp4robots_admin » 19 Jan 2021 08:10

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 1713 times

Cpp4Robots Support

VS 2019 Project Template not found

by surfrider » 18 Jan 2021 17:07

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?

Top