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
1
vote
0 answers

How do I find out why my template gives me an error

We have an old template builded with the nuget package ligershark/template-builder. Now I am updating this template with a wix project. When doing that I get the following error message: "The template specified cannot be found. Please check that the…
Mikael Johansson
  • 359
  • 1
  • 17
1
vote
0 answers

VSIX project not loading zip template during build

I am trying to create a VSIX which will have a multi-project template. I've followed the instructions in this msdn link and also included IWizard implementation for some manipulations. I'm getting the below error while trying to build the…
1
vote
0 answers

Unable to resolve service for type 'System.IServiceProvider' while attempting to activate PrerenderTagHelper

We are trying to deploy to azure the Angular2 template detailed here: http://blog.stevensanderson.com/2016/10/04/angular2-template-for-visual-studio/ We have run the command and the project is created and works absolutely fine locally, we have added…
user351711
  • 3,171
  • 5
  • 39
  • 74
1
vote
1 answer

Visual Studio 2015 Created Old .NET Core 1.0.1 project

I have installed .NET Core 1.1 SDK and Tooling 1.0.1 Tools Preview 2. When I create new .NET Core project using Visual Studio 2015 it creates 1.0.1 project instead of 1.1. Not sure how to change this ugly behavior?
Radenko Zec
  • 7,659
  • 6
  • 35
  • 39
1
vote
1 answer

Create a visual studio initial solution, with a tool or extension

I found myself repeat on the same structure over and over again in all new projects. Is there a tool that I can use to create my own initial template?
1
vote
1 answer

Create project from vstemplate

I am trying to create project from the project template. I have implemented custom wizard for project template and on ProjectFinishedGenerating it runs: try { Solution2 solution = (Solution2)_envDte.Solution; var path =…
Alex
  • 842
  • 11
  • 33
1
vote
1 answer

Visual Studio 2015 multiple project template

I want to use a custom template I created with VS 2013 Update 5 in VS 2015. The template works with VS 2013 Update 5, but not in VS 2015. I've opened the solution from which the projects are exported as templates in VS 2015, and exported the 5…
1
vote
1 answer

Visual Studio 2015 Header File Generation

Microsoft thinks it is helpful to add #pragma once to the top of all header files it generates. It does not seem to be a template, how can this be disabled. I don't care about overriding to have some other template or whatever in it's place. I…
Fleck
  • 133
  • 1
  • 11
1
vote
1 answer

Hide template visibility depending on VS version?

I have created a VSIX with 2 templates, one is for VS2012 and another is for VS2013. But if I use the VSIX, both templates are visible for both VS versions in "New Project" window. I want to restrict it. Is there any way?
Mathivanan KP
  • 1,979
  • 16
  • 25
1
vote
0 answers

Visual Studio Multi-Project Templates - Add or Remove Project Links

I have a multi-project template that creates a solution with several default projects. I wanted to provide some UI that would allow projects to be selected/de-selected to customize the final solution. I have been unable to figure out where I can…
1
vote
1 answer

How to develop VSPackages in Visual Studio 2015 RC

I have installed Visual Studio 2015 RC SDK on my machine. I don't have Visual Studio Package template when creating a new project. This is the screen shot of Visual Studio 2015 RC As you can see no templates for Visual Studio Package. This is the…
1
vote
1 answer

DotNetNuke Visual Studio Projects

I downloaded the DotNetNuke Visual Studio Installer, and the only project template I got was a Compiled Module. I've seen screen shots and examples where people had 'DNN Project' projects, and 'DNN Skin' projects. Did something go wrong with my…
1
vote
0 answers

Debugging Visual Studio Template/Extension throws NotInstalledException

Running Visual Studio 2013, I'm trying to debug a Visual Studio project template, as well as a visual studio extension. I've followed the instructions given here, but when the new instance of Visual Studio launches, I…
1
vote
2 answers

How to set up a HintPath from TFS root

I'm putting together a template project in Visual Studio for use by my department. The project needs to reference some common libraries that are stored elsewhere in TFS. The problem is that the template may get used in a wide variety of locations,…
friggle
  • 3,362
  • 3
  • 35
  • 47
1
vote
1 answer

Any idea how to use CodeCampServer template?

http://teamcity.codebetter.com/viewLog.html?buildId=11047&tab=artifacts&buildTypeId=bt21 CodeCampServer has two download packages: VisualStudioTemplate and CodeCampServerPackage. I looked for any idea how to use them, but unfortunately I didn't. So,…
Fitzchak Yitzchaki
  • 9,095
  • 12
  • 56
  • 96