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
107
votes
10 answers

No templates in Visual Studio 2017

After a Visual Studio 2017 (RC) installation from scratch, I can't find a standard list of templates. I'm specifically interested in the Console Application (C#) template and the Windows Form (C#) template. I'm pretty sure I'm missing one of the…
Serge V.
  • 3,377
  • 3
  • 20
  • 28
38
votes
2 answers

Using CustomParameter with Visual Studio Multi-Project Template

I would like to be able to create a Multi-Project Template for a solution which contains the following two projects (where the interface should include a reference to the business layer).: .interface .business. Normally, you…
KyleMit
  • 30,350
  • 66
  • 462
  • 664
23
votes
6 answers

Bower replacement in Visual Studio 2017 ASP.NET MVC Core Template

Lately I created a ASP.NET MVC Core project from scratch using Visual Studio 2017 (15.6.3). I discovered the usual JavaScript frameworks: bootstrap jquery jquery-validation jquery-validation-unobtrusive But unfortunately all Bower support is gone!…
21
votes
5 answers

WebApi2 in visual studio 2012

How can I create a project that uses WebApi2 in visual studio 2012? Do I have to create with a blank project or do I have to create a MVC project? I don't want to install Visual Studio 2013 preview, please help.
20
votes
3 answers

How to create a solution template in VS2010?

Can anyone point me in the right direction on how to create a Solution Template in VS2010? I need to create a solution with several projects already created....
devlife
  • 15,275
  • 27
  • 77
  • 131
20
votes
1 answer

Custom "One ASP.NET" Project Templates within Visual Studio 2013

Goal: Integrate project templates within Visual Studio 2013's "One ASP.NET" collection. Background: The "to be distributed" project began as a new ASP.NET Web Application project, using the Empty template and the MVC and Web API "folders and…
17
votes
0 answers

visual studio export template error 'invalid parameter'

I'm using Visual Studio 2012 Premium on a 64-bit window's 7 laptop. I want to export a template but I get the following error when I click finish in the export template form: Template export failed for the following reason: Invalid parameter …
14
votes
1 answer

.jsproj cannot be opened. This project type is not supported by this installation

I am trying to create a new project in VS2015 community edition using JavaScript template but getting error: The project file 'IonicCordovaProjectSolution\IonicCordovaProject\IonicCordovaProject.jsproj' cannot be opened. This project type is not…
12
votes
4 answers

Application not auto creating AccountController

I am creating an MVC project in VS2017 and in VS2015, when you create an MVC templated ASP.NET Web App, it will automatically build an account controller for you which adds register and log in functionality. It will add an AccountController.cs and…
12
votes
3 answers

Visual Studio Templates - adding additional pre-existing projects

I'm working on a Visual Studio template where the generated project relies on a number of references, which happen to be other projects under source control. The question is how do I set this up in my ProjectGroup template? For example, if I have…
Bob Palmer
  • 4,714
  • 2
  • 27
  • 31
12
votes
2 answers

Weird folder hierarchy when creating multi-project Visual Studio template

I am manually creating a multi-project template for Visual Studio 2012 and I followed the guidelines from this page: http://msdn.microsoft.com/en-us/library/ms185308.aspx The problem I am having is that a weird folder structure is created with this…
Ceottaki
  • 694
  • 1
  • 9
  • 17
11
votes
1 answer

How to create an evaluated Custom Parameter in a VSTemplate

So I'm modifying a multi-project VS Template (Visual Studio project template), and I want to set a Custom Parameter in the root template to be used by the sub templates. However, I want to set it based on an existing parameter. So, for example,…
Sean Worle
  • 861
  • 1
  • 7
  • 19
11
votes
4 answers

Event on Visual Studio project creation

I want to add functionality when the user creates project \ solution in Visual Studio 2010\2012. i.e. I need to perform C# code when a new project is created. I googled a lot but didn't find any event which is fired on\after project creation. Is…
11
votes
1 answer

Visual studio item template $safeitemname$ not working as expected

I'm creating a Visual Studio Item template to create a few files which depend on a 'container' file. The last file Container…
Ropstah
  • 17,538
  • 24
  • 120
  • 194
8
votes
1 answer

Multi project template for dotnet new

I am creating a multi-project template, that has a few optional projects and solution folders. I have been through quite a few different documentations and code in github to achieve this, but with very little success. I really appreciate if someone…
Libin Joseph
  • 7,070
  • 5
  • 29
  • 52
1
2 3
15 16