Visual Studio fails to display Project Templates for MapXtreme .NET

Products affected: MapXtreme .NET

Issue

When attempting to create a new MapXtreme project, from a template, in Visual Studio there are no entries for MapXtreme X.X.X under Visual C# or Visual Basic.

Cause

In Visual Studio go to Tools > Options > Projects and Solutions > Locations and check the directory selected under “User project templates location”. The vstman and MapXtreme X.X.X folder (that contains the MapXtreme templates) is not present in that folder.

Resolution

UPDATED: March 5, 2020
This is currently being investigated as a potential installer bug, MapXtreme .NET installs the templates under the Visual Studio install directory but on some Windows Operating Systems, and versions of Visual Studio, the path to “User project templates location” is under the User Profile.

A workaround is to:
  • Close Visual Studio
  • Browse to the Project Templates folder within Visual Studio (for example C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ProjectTemplates\ )
  • Copy the MapXtreme X.X.X folder and the two MapInfo.MapXtreme vstman files.
  • Browse to the location specified under Tools > Options > Projects and Solutions > Locations and check the directory selected under “User project templates location” and copy the two files and the folder into the location.
  • Project Templates should now contain entries for MapXtreme.