The install folder you showed was correct. You should not modify or add any files to the Visual Studio install. I would delete the files you copied to the Visual Studio folder.
Visual Studio template extensions should be placed in your "Documents" folder. The template is a zip file (named "TbcMacros.zip" in this case).
Located here:
C:\Users\<userName>\Documents\Visual Studio 2019\Templates\ProjectTemplates\TbcMacros.zipTo get going, I would:
1) Delete files you copied to Visual Studio folder
2) Uninstall "Trimble Macros SDK"
3) Download latest version of SDK (I just updated it to match TBC version 5.40
today 1/6/2021)
http://dl.trimble.com/osg/survey/macros/trimble_macros_sdk_v5.40.msi4) Start Visual Studio and create new project. The template for TbcMacros will likely be the last in the list so scroll down to the bottom the of template list.
Good luck.
------------------------------
Gary Lantaff
------------------------------
Original Message:
Sent: 12-27-2020 00:29
From: usman Bajwa
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
Hi,
The Trimble Macro SDK location after installation:
Then I placed it in project template folder after changing the name from Macro SDK to TbcMacro:
But still i cannot see the template file in the Vision 2019 software.
There is no .vstemplate and .py files in Trimble TBC Macro SDK.
I am thankful for your help. I am looking forward for more help from your side.
thanks again.
Regards,
Usman Farooq
------------------------------
usman Bajwa
Original Message:
Sent: 12-24-2020 11:59
From: Gary Lantaff
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
The SDK install should have placed the template in the Visual Studio folder in your MyDocuments folder. So first check if the file is in this folder.
If the file is not there, then you can copy the file from the SDK install folder.
------------------------------
Gary Lantaff
Original Message:
Sent: 12-21-2020 00:37
From: usman Bajwa
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
I reinstalled macro sdk. But still I cannot find Trimble template file while creating project.
------------------------------
usman Bajwa
Original Message:
Sent: 12-20-2020 10:04
From: Gary Lantaff
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
The macro sdk must be installed after Visual Studio. Try installing macro sdk again.
------------------------------
Gary Lantaff
Original Message:
Sent: 12-19-2020 00:17
From: usman Bajwa
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
Hi,
I just started to work on Trimble Macro SDK.
I have visual Studio 2019. I also installed Trimble Macro SDK.
But I cannot see its template file when I am creating a project for Trimble environment.
Please guide me. Thanks.
Regards,
Usman
------------------------------
usman Bajwa
------------------------------