Questions tagged [visual-studio-templates]

A number of predefined project and project item templates are installed when you install Visual Studio.

These templates appear as project types in the New Project Dialog Box.You can use one of the many project templates to create the basic project container and a preliminary set of items for your application, class, control, or library. You can also use one of the many project item templates to create, for example, a Windows Forms application or a Web Forms page to customize as you develop your application.

237 questions
4
votes
2 answers

How to install templates from nuget package?

I know I can install nuget packages from templates: https://learn.microsoft.com/en-us/nuget/visual-studio-extensibility/visual-studio-templates But I'd like to do the opposite, I'd like to install templates - provided by the nuget package - after…
eestein
  • 4,914
  • 8
  • 54
  • 93
4
votes
0 answers

Custom project item template not visible in .net core web application project

I have created a custom project item template for Visual Studio to use in web applications. The template adds .js .html and .css files with a given name and some predefined content. I placed the template (zip-file) into MyDocuments\Visual Studio…
4
votes
1 answer

Shared Templates in Visual Studio

I've got a bunch of useful Project Item templates for Visual Studio 2010 and I'd like to share them with the developers in my team. At the moment the zip files are sitting on a network share with an instructions text file telling users to copy the…
James Orr
  • 5,005
  • 7
  • 39
  • 63
4
votes
3 answers

How to extract visual studio project template icons?

Visual Studio template has a parameter icon to display in create project dialog. It's described as
Json76
  • 175
  • 2
  • 13
4
votes
1 answer

Do HTML5 development using grunt and bower with WebSite project or create HTML5 Web app in Visual Studio 2015?

I want to build a custom PURE HTML5 Web Template, for HTML5/CSS3/JavaScript single page application development, and then use that as a starting place for SPA HTML5 web development. Microsoft clearly recommends using Web Applications, but provides…
4
votes
0 answers

Visual Studio Custom Item Templates for PCLs

I am trying to create an item template compatible with a PCL. This question has already been asked and answered but it appears that a later update to VS means the solution is no longer working. Link to original question…
4
votes
1 answer

Multi-project Visual Studio template with solution folders containing files

I'm creating a multi-project template in Visual Studio, and I got the basics up and running quite nicely. MySolution.vstemplate:
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
4
votes
0 answers

Add custom files to a Visual Studio 2013 Multi Project Template

I am trying to create a Multi Project Template and that is working good. The projects are created. For this solution there are some 3:e party dll's that the projects shall add a reference to, and some other .txt and .xml files. I have my .vstemplate…
Magnus Gladh
  • 145
  • 5
3
votes
2 answers

Installing Visual Studio Project Templates without deleting the ProjectTemplatesCache

I'm working on an installer that needs to add several files to AVR Studio 5, an IDE developed by Atmel that is based on the Visual Studio Isolated Shell. These files include project templates for the "New Project" dialog. By experimenting, I found…
3
votes
0 answers

Microsoft.DesktopBridge.props Not Found when creating Windows Application Packaging Project from custom template

I added a Windows Application Packaging Project to my Visual Studio solution called "Installer". Then I used that project to create a template using the Visual Studio Project "Create Template" option. When I try to use that template to create a…
johnway2
  • 91
  • 4
3
votes
0 answers

Custom Visual Studio Item Templates for Blazor

I tried to create a new Item Template for my Blazor Projects and it hasen't shown up in the "Add New Item"-dialog. The solution was to add TemplateGroupID, TemplateID, and AppliedTo in the TemplateData section of my .vstemplate file.
3
votes
0 answers

visual studio item template - find out current folder

When you right click on a folder and 'add a new item', is there a way to find out the current folder? I'm trying to display a default name for my custom item template in the add new item dialog box. Want this to be dynamic based on the current…
Mrchief
  • 75,126
  • 20
  • 142
  • 189
3
votes
1 answer

VS2008 extern templates

Microsoft has an extension whereby one can declare that a template instantiation will be external; consequentially, it does not get implicitly instantiated. At least that's the theory. I tried reproducing that with the code #include class…
Martin v. Löwis
  • 124,830
  • 17
  • 198
  • 235
3
votes
0 answers

SpecFlow and Xamarin Studio Integration with Custom Templates

I'm currently looking at using SpecFlow in conjunction with Xamarin Studio for writing BDD tests for cross-platform mobile apps. I've been using the Xamarin Studio add-in developed here https://github.com/mikeyjones/SpecFlow to integrate SpecFlow…
user3617723
  • 1,355
  • 3
  • 17
  • 37
3
votes
4 answers

Visual stuio template parameters not returning values?

I'm trying to get these parameters while creating a visual studio template but it doesn't return a value, it just stays like this: string rootnamespace = $rootnamespace$; // this is the output, it just stays as it was declared string…
Liran Friedman
  • 4,027
  • 13
  • 53
  • 96