Questions tagged [project-template]

For questions regarding working with project templates in an IDE, such as those visible in Visual Studio's New Project dialog.

292 questions
11
votes
2 answers

Visual Studio 2017 c++ win32 console project template

I am on Visual Studio Community 2017 v. 15.3.1 and I can't seem to find Win32 console application or Win32 project. Still have empty c++ project template and Windows Console Application template. On the start page, I still have win 32 console…
10
votes
1 answer

How to include 'Solution Items' files in multi-project solution template

I am trying to create a multi-project solution template for Visual Studio 2019. I can successfuly add multiple project in multiple folders. As a next step, I would like to add local files to the root of the solution or even in folders such as…
Arnaud VdP
  • 227
  • 1
  • 9
8
votes
1 answer

Visual Studio multi-project templates rename namespaces and project names

I've successfully created a multi-project solution template. What I would like to do, however, is to rename the beginning of each project with the name of the solution. So my projects: ProjectOne.A ProjectTwo.B Would be renamed to…
Omar
  • 39,496
  • 45
  • 145
  • 213
8
votes
1 answer

How can I create a Visual Studio project template that shows up in the Web category?

I have created a project template that is installed via a VSIX extension. This is working fine, but it only shows up in the Visual C# category. I am having a lot of trouble figuring out how to get it to show up in the Visual C# > Web category. I…
7
votes
2 answers

Getting "STG_E_FILENOTFOUND" when creating project using project template wizard

I am trying to create a VSIX project for creating multi-project template using Wizard but I am getting exception on this.dte.Solution.AddFromTemplate(Path.Combine(this.templateDirectory, "WebTemplate\\UI.vstemplate"),…
Amar Mathur
  • 845
  • 7
  • 9
7
votes
2 answers

How do I create a WCF Service Library project in Visual Studio 2017?

I need to develop an application for my distributed computing class, with one central server and multiple graphical clients. I was thinking of trying WCF for this, since I am already familiar with making .NET standalone desktop applications using…
Knowledge Cube
  • 990
  • 12
  • 35
6
votes
2 answers

Updating XCode project template details

Previously all file headers were being displayed as follows. // Created by ABC_User_Name on 10/31/11. I have modified user name from ABC_User_Name to XYZ_User_Name. Now, even after logging out & logging in again, I am finding the same headers in…
sagarkothari
  • 24,520
  • 50
  • 165
  • 235
6
votes
1 answer

What does Apple use for XCode 4 template generation?

Xcode 4 completely changed the (project) template system. There's a lot more you can do now, but it comes at a price. Take a look in the TemplateInfo.plist files scattered around your…
epologee
  • 11,229
  • 11
  • 68
  • 104
6
votes
2 answers

Installing custom template from local nupkg contains additional files

I'm successfully creating and installing a custom project template using the pretty good instructions here. The template is installed successfully, however, when I create a new project based on this template the resulting folder contains three…
baumgarb
  • 1,955
  • 3
  • 19
  • 30
6
votes
0 answers

How to reload project in VS with Target command before build

I am looking for a way to Reload a project OR all projects inside the Solution, with Target node , which is in pre-build events node of .csproj file ...
6
votes
1 answer

installing asp.mvc 2 beta nunit project templates untrusted component error

I've been trying to get nunit 2.5 to work with mvc 2 (VS2008) after following some guides and updating registries. I though I was done. I can select nunit when choosing my testing frame work but there is no test project created. When I create a new…
Johnno Nolan
  • 29,228
  • 19
  • 111
  • 160
6
votes
1 answer

How do I add Same Solution Project References when exporting Templates in Visual Studio?

I have a solution that contains several projects, lets call them ProjectA and ProjectB. I need ProjectA to have a reference to ProjectB, however when I "Export Template" I can't seem to keep the reference. What I am trying to do is to have it create…
5
votes
4 answers

How do I use a relative import in a csproj template?

I've create a project template which contains a csproj which contains an Import pointing to a project file where I list all the third party project locations. I'm always using this project template to create projects in the same relative…
Christo
  • 1,802
  • 4
  • 20
  • 31
5
votes
1 answer

Changing namespace of the WPF Project Template

When I modify the xaml's cs's I will have to go in and manually modify the corresponding *.g.cs file. And it seems to get overwritten every time I rebuild. So my question is, what is the proper way to change the namespace on a WPF application that…
Kwan Cheng
  • 696
  • 3
  • 12
  • 16
5
votes
2 answers

VS template parameters: Get partial project name

I have a multi-project solution template. I've created it using this guide. My solution is generating multi-platform projects with a central shared project: MyProject.Shared MyProject.UWP MyProject.Droid etc. The problem is that when I use…
1
2
3
19 20