Visual Studio Templates
No edit summary
No edit summary
Line 14: Line 14:


If there are problems with the templates they can be resetted by Developer command prompt: devenv /updateconfiguration
If there are problems with the templates they can be resetted by Developer command prompt: devenv /updateconfiguration
(prior to vs2017 devenv /setup was used - I am not sure if it still works or does the same thing)


Other places that hold template data are:
Other places that hold template data are:

Revision as of 10:10, 29 October 2018

The visual studio templates are definitions that help users to create projects for running MDriven Framework.

The Visual Studio templates changed from version VS2017.

Important paths for how the templates work (visual studio generic information):

MDriven installs templates here: C:\Program Files (x86)\Microsoft Visual Studio\2017\<Edition>\Common7\IDE\ProjectTemplates

We do so by writing .vstman files; MDrivenSolution.vstman and MDrivenEcoSpaceAndModel.vstman. These files are manifests and point out where the actual template lies:

<RelativePathOnDisk>CSharp\MDriven7.0\Eco7.0Solution_cs.zip</RelativePathOnDisk>

The actual template is a zip file and placed like this:

C:\Program Files (x86)\Microsoft Visual Studio\2017\<Edition>\Common7\IDE\ProjectTemplates\CSharp\MDriven7.0\Eco7.0Solution_cs.zip

If there are problems with the templates they can be resetted by Developer command prompt: devenv /updateconfiguration

(prior to vs2017 devenv /setup was used - I am not sure if it still works or does the same thing)

Other places that hold template data are:

C:\Users\<User>\Documents\Visual Studio 2017\Templates

C:\Users\<User>\AppData\Roaming\Microsoft\VisualStudio\15.0_<InstallId>\ProjectTemplatesCache

This page was edited 96 days ago on 02/10/2024. What links here