Author Topic: Visual Studio Project Template  (Read 88 times)

0 Members and 1 Guest are viewing this topic.

kdub

  • SuperMod
  • Swamp Rat
  • Posts: 890
  • class keyThumper<T>:ILazy<T>
Visual Studio Project Template
« on: June 11, 2017, 12:02:22 am »

a bookmark:

Playing with Project Templates for VS 2017 ...

templates are Zipped by Visual Studio ...  saves in 2 places

in ProjectTemplates used by VS
and a backup in My Exported Templates

I had some templates that continued to show in the project startup dialog after they had been deleted from the default locations.

I tracked the cached location to
C:\Users\kdub_\AppData\Roaming\Microsoft\VisualStudio\15.0_dc662b10\ProjectTemplatesCache\ ....
Deleting the cached zips has fixed the issue.
called Kerry in my other life

Sometimes the question is more important than the answer.

gile

  • Water Moccasin
  • Posts: 2066
  • Marseille, France
Re: Visual Studio Project Template
« Reply #1 on: June 11, 2017, 03:53:04 am »
Hi,

Thanks for sharing.

I have not tried Visual Studio 2017 yet, but I never noticed this with prior version of Visual Studio. Adding or removing template ZIP files from the "Templates\Project Templates" folder (or one of its subfolder) does the trick.

Some templates to try here.
Speaking English as a French Frog

kdub

  • SuperMod
  • Swamp Rat
  • Posts: 890
  • class keyThumper<T>:ILazy<T>
Re: Visual Studio Project Template
« Reply #2 on: June 11, 2017, 05:38:11 am »
Thanks Gilles,

That looks interesting.

I'm having difficulty with the new Templates I've built  in vs2017... VS does not seem to recognise them ie: they are not being listed in the template dialog.

I'll have another play next weekend

Regards,
called Kerry in my other life

Sometimes the question is more important than the answer.


gile

  • Water Moccasin
  • Posts: 2066
  • Marseille, France
Re: Visual Studio Project Template
« Reply #4 on: June 11, 2017, 11:14:30 am »
Here's a translation of the French tutorial I wrote to create an AutoCAD template.
The translation is mainly done with the Miscrosoft Word Translator, so let me know if there're still mistakes.

Create a C# Template for AutoCAD with Visual Studio 2015
Speaking English as a French Frog