For questions regarding working with project templates in an IDE, such as those visible in Visual Studio's New Project dialog.
Questions tagged [project-template]
292 questions
4
votes
0 answers
How to update project templates cache in VS2017
I'm migrating VS2015 project templates to VS2017.
There are my own templates under
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplates\CSharp
After adding a new project template or modifying existing files it is…

tutalia
- 285
- 3
- 16
4
votes
3 answers
Multi project template Visual Studio 2017
I have followed How to create a multi project template in visual studio 2013? article to create a template. My Project structure is as follows : ProjectName.Domain, ProjectName.Service, ProjectName.UI, ProjectName.sln, root.vstemplate
The…

e.botha
- 51
- 7
4
votes
1 answer
Remove replicated files from xcode template project
I was trying to create some groups in my XCode Template but unable to map these groups to their respective folders.
To do that I have added my folders in and give definition in as given below
Nodes
…

Chanchal Chauhan
- 1,530
- 13
- 25
4
votes
2 answers
Visual studio 2015 ASP.Core project template
Im trying to create a project template that I can reuse for multiple projects. I've tried exporting the template and making it a vsix.
It doesn't matter what I do, whenever I use that template, it does not load any files, references etc.
Is there…

Joestoen
- 545
- 1
- 5
- 14
4
votes
3 answers
Visual Studio 2010 Project Template doesn't show up
I tried to edit a project template after exporting it from vs2010 by extracting it and after editing compressing it again.
But after that it won't show up in visual studios new project dialog.
So I tried it again, without the editing. Just extract…

Sven Hecht
- 1,337
- 1
- 16
- 23
4
votes
1 answer
Preventing icon color and size distortions when bundling a Visual Studio project template in a VSIX
We have created a VSIX that contains a number of project templates. In each template, the .vstemplate references the icon image file like this:
TemplateIcon.png
Here are examples of such PNGs:
I literally dragged these three…

biscuit314
- 2,384
- 2
- 21
- 29
4
votes
4 answers
Visual Studio 2013/2015 Test Project Template - for NUnit?
I'm new to unit testing and started with MSTest and want to use NUnit. I see there is a Test project template in VS 2015 but I read that for NUnit I'm to create a class library then add the NUnit NuGet packages.
What is correct? Test Project…

Neal
- 9,487
- 15
- 58
- 101
4
votes
2 answers
In the default ASP.Net MVC template, why does the user get re-signed in every time they change something?
So I'm using the default ASP.Net MVC template and sorting out things I don't need from the project. The user keeps getting logged in again if they change things like their password or phone number.
For example, in the ManagerController.cs file I…

Slight
- 1,541
- 3
- 19
- 38
4
votes
1 answer
Edit .vstemplate file of project before it is a template
I'm trying to follow this guide to create a project template in Visual Studio 2013.
At number 3 I go to "How to: Substitute Parameters in a Template" and at number 2 is the instruction "In the .vstemplate file for the template, locate the…

stinaq
- 1,274
- 3
- 19
- 31
4
votes
3 answers
Creating Xcode Project Templates in Xcode 8.2.1
How does one go about creating a project template in Xcode 8.2.1? I'm asking this because of how I would like to use such a project template as the basis for the many Xcode projects that I will most likely create in the process of learning how…

RandomDSdevel
- 431
- 6
- 17
4
votes
1 answer
Extensibility Project Type does not exist with VS2013
In my Visual Studio 2013, Extensibility Project Template is not found under "Visual C#" and "Other Project Types". Could you please guide me to enable this project type with Visual Studio?

Ponmalar
- 6,871
- 10
- 50
- 80
4
votes
1 answer
Create a Solution Folder in a Visual Studio Project Template
I have created a multi project Visual Studio Temploate following these instructions:
http://msdn.microsoft.com/en-us/library/ms185308.aspx.
This works fine and I can see my two projects in Visual Studio when I select my project template from the…

Harry Boy
- 4,159
- 17
- 71
- 122
4
votes
0 answers
Setting compiler flags per file in projct template file TemplateInfo.plist
I created a project template file - TemplateInfo.plist which is defined with ARC usage.
There are a few external files which I included in the template that are not ARC supported. In a regular project I would set manually the compiler flags for…

Luiza
- 41
- 4
3
votes
1 answer
Adding Solution Items in a project template wizard
I'm trying to add a file to a Visual Studio "Solution Items" folder, using a Project Template Wizard. I'm able to create the folder itself, but when I add a file, it doesn't do anything.
My code (executed from ProjectFinishedGenerating) is
…

ulu
- 5,872
- 4
- 42
- 51
3
votes
4 answers
Is it possible to make descendant of a TService and publish my own properties?
After making a few various services in Delphi, I've realized that the TService is lacking some of the necessary things which should come with a service application, such as logging, exception handling, and the 'Description' property in the…

Jerry Dodge
- 26,858
- 31
- 155
- 327