Missing User Control template

Answered
0
0

Hi – I seem to be missing user control template after installing latest build (I uninstalled then reinstalled some other versions to trouble shoot an issue and I’m now on 1.4.32).  I’m not sure at what point this happened along the way.  I’m using vb.net, VS 2013.

See screenshot – I used to have “User Control” template – and now there is an option for “Inherited User Control” but when I try to use that it doesn’t find anything in my project to inherit from (though there are many user controls already in the project).

I tried downloading the template files from http://setup.wisej.com/VBNetTemplates.zip  – and copied in the UserControl folder into my vs installed templates folder.  (the previous one was still there – I renamed it and copied the new one into place, restarted vs).  However – that did not fix the issue.

How can I troubleshoot this and get access to the user control template again?

 

NOTE: if I use the inherited and just continue even though there is nothing to select – it does create a new user control.  However – should I still have the plain old “User Control” too?

Thanks in advance…

 

Matthew

  • You must to post comments
Best Answer
0
0

For some reason VS doesn’t like the name “UserControl” for the directory in the item templates. I don’t know when and how it started and I’m pretty sure it used to be fine.

If you go to \Documents\Visual Studio 2013\Templates\ItemTemplates\Visual Basic\Wisej\ and

  • Rename “UserControl” to “UserControlBase”
  • Inside \UserControlBase Rename “UserControl.vsteamplate” to “UserControlBase.vstemplate”

It works.

We’ll change it on our end too and in the downloadable zip files.

  • You must to post comments
0
0

Thank you Luca. That works like a charm.  I appreciate the assistance.

Matthew

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.