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
0
votes
1 answer
How can I use custom template parameters gathered with TemplateWizard in the project (not source) file?
In VS2017 I've made a C# Project Template project, that uses forms and the IWizard interface to pop up a dialog as soon as the user types a project name and hits OK. The form gathers info from the user and then sets up the new project accordingly.
I…

Xenial
- 465
- 2
- 15
0
votes
1 answer
Xcode 8.3: how to install multiple custom "Project Templates" in Xcode 8.3?
I am trying to install two custom "project templates" in Xcode 8.3.3.
To be more specific, I'm trying to install Cocos2D-obj templates for v2.1 and v2.2. (Cocos2D v3 or higher no longer use Xcode templates, but v2.x does.)
During the installation,…

s4mt6
- 143
- 1
- 2
- 9
0
votes
1 answer
How to control, in TFS, updates to work item definitions\project templates on users with admin rights?
Can you prevent a user with project admin or project collection admin rights from updating a project's work item definition or its project template?
Basically we have a TFS instance with multiple projects and project collections. We want to ensure…

Gern Blanston
- 42,482
- 19
- 50
- 64
0
votes
1 answer
How to execute PowerShell script while creating a Custom Project Template in Visual Studio 2015?
I am creating a Custom Visual Studio Project Template. This custom project template consists of two folders which needs to contain some binaries. These binaries has to copied from some server location. As these binaries will be updated periodically…

Jaganmohanreddy
- 391
- 4
- 19
0
votes
1 answer
Visual Studio 2015 project template type
I'm creating a project template and suffering placing it into a particular section in "New Project" window. I found a MyTemplate.vstemplate xml-like file inside the template folder and there is an entry 'ProjectType'. And that seems to be the right…

Andrey Lyubimov
- 663
- 6
- 22
0
votes
1 answer
Enabling SQLite in Azure service?
Getting started with Azure services here and I'd like to be able to have a "lighter" datastore for smaller solutions. Can anyone explain how to enable/setup SQLite with an Azure service? Is that done from Visual Studio or do I have to enable it…

Jonas Rembratt
- 1,550
- 3
- 17
- 39
0
votes
1 answer
New Service Fabric Stateless Web Api Core Project will not compile
I open visual studio and do file->new project.
I select cloud->service fabric application. Then I pick Stateless ASP.NET Core. In the last window I select Web API and change the authentication to windows authentication.
When I do this and then…

Vaccano
- 78,325
- 149
- 468
- 850
0
votes
0 answers
Template parameters for powershell script in Visual Studio project template?
I have a project template that contains a powershell script called BuildStandard.ps1. Inside that script is the following excerpt:
Invoke-psake -buildFile $psakeScript `
-parameters @{
"solutionFile" =…

ket
- 728
- 7
- 22
0
votes
1 answer
Change class name in VS project template
I want to create a project template such that class name matches user provided project name.
My class is defined as (in exported ProjectTemplate):
namespace $safeprojectname$.ViewModels
{
[Export("$safeprojectname$.ViewModels.TestClassViewModel…

RDV
- 957
- 13
- 28
0
votes
2 answers
Project template with three projects?
Is it possible to create a project template containing three projects?
I've built a sample project for my client which contains the basic structure for all their new applications. It would be sweet to be able to create a project template from it to…

jgauffin
- 99,844
- 45
- 235
- 372
0
votes
1 answer
Error in trying to create a .vsix project (VS2017RC)
I installed VS2017RC (15.0.26026.0) with Workloads '.NET desktop development' and 'Visual Studio extension development'. Furthermore, I installed the .NET Compiler Platform SDK.
When I create a new .vsix project via the template Code Refactoring…

JBSnorro
- 6,048
- 3
- 41
- 62
0
votes
1 answer
Visual Studio Gallery - MVC Project Template Failing to Upload
I've created a Visual Studio 2010 ASP.NET MVC Project Template as a VSIX package that I'd like to upload to the Visual Studio Gallery, but every time I try it tells me the path is too long...
Locally, it installs and works without issue...
The…

Kieron
- 26,748
- 16
- 78
- 122
0
votes
2 answers
Change Xamarin Project Name in Templates
Is there a way to modify the project template to change how the Visual Studio Xamarin (Shared PCL) Project Templates names the default project names? For example, in VS,
File->New Project->Cross-Platform->Blank App (Xamarin.Forms Portable)
will…

chad
- 717
- 1
- 9
- 23
0
votes
2 answers
Add external reference to project template
I have Project name P1 and I add to it Automapper.dll as reference
when Export the project as template then make new project with this
template the automapper.dll is broken
how I can make project template get this dll?

Duha
- 811
- 1
- 12
- 26
0
votes
2 answers
What Project Template do I choose to make a C++ DirectX DLL?
I have a C# XAML UWP project, and I need some 3D stuff in it.
So I figured using DirectX (which requires C++) is the way to go.
So I want to make a new C++ project that builds to a DLL, and use that in my C# project.
But I can't figure out what…

Stef
- 315
- 3
- 14