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
0 answers
How to Create a Folder in Project using Custom IWizard in VSIX
i am creating a custom wizard, i want to create a folder inside my project and add some files into this folder. i used this codes
Project project = _dte.Solution.Projects.Item(1);
project.ProjectItems.AddFolder("Common");
but i get a null refrence…

Chibako
- 47
- 4
0
votes
1 answer
Configuration file v2 (.readthedocs.yaml) not working with project-template
Read the Docs is planning to start failing builds for not using configuration file version key 2 on September 25, 2023. I tried the following readthedocs.yaml content with the sklearn project-template and it did not work:
version: 2
# Set the…

Spirit of the Void
- 693
- 8
- 9
0
votes
1 answer
How to configure/remove fields from the "Configure your new project" when creating a new project template in visual studio
How can I remove certain fields from the "Configure your new project" when creating a new project template in visual studio?
For an example, there is a Framework section where you can choose your Framework.
I within my project template already set…

B. Nir
- 109
- 2
- 3
- 12
0
votes
1 answer
When installing a custom Visual Studio template, do you have to install the interop stuff?
I want to install a custom project template with my tool. The template uses a Wizard, so I'm including an assembly and putting it into the GAC on the target machine. Now, this assembly has lots of dependencies like Interop.IWshRuntimeLibrary.dll,…

ulu
- 5,872
- 4
- 42
- 51
0
votes
1 answer
Visual Studio | Determine Template Type of an existing Project
I am trying to rebuild an existing solution from scratch.
I know that the main project is created from a ASP.NET web application template.
But I am stuck when I want to create another project for unit testing as there are a bunch of templates to…

CJS
- 68
- 7
0
votes
0 answers
How to determine existing project template from visual Studio?
Is there any simple way to determine Project Template (the one developer picked initially) of an existing project? I am using Visual Studio Community 2022

BlackCat
- 1,932
- 3
- 19
- 47
0
votes
0 answers
how to update File Name in Visual Studio Project Template based on user input
I am trying to create a Visual Studio 2022 Project Template. I am using a custom Windows form, where I accept multiple user inputs and have a class that implements IWizard, where I add it to the replacementsDictionary so that file contents are…

askids
- 1,406
- 1
- 15
- 32
0
votes
1 answer
Missing Extensibility VSIX project template
I'm trying to add a VSIX Project to my solution but there is no Project Templates under Extensions:
I searched for Extension in the Components and can't find any Extension to install:
How do I get the VSIX projects?

Jeremy Thompson
- 61,933
- 36
- 195
- 321
0
votes
0 answers
Substitute template parameters in C# template project
I am trying to create a template project with a custom .csproj file name. For example on creating a project, project name supplied is POS and the requirement is to append ".Domain" to it so that the csproj file is POS.Domain.csproj.
I have tried…

Ali Zafar
- 11
- 4
0
votes
0 answers
Building vsix - MSB6006: "VsixUtil.exe" exited with code -1073741819
I'm experimenting with add a multi-project solution template to a VSIX. I followed step by step these instructions.
https://learn.microsoft.com/en-us/visualstudio/extensibility/getting-started-with-the-vsix-project-template?view=vs-2022
But at build…

BrilBroeder
- 1,409
- 3
- 18
- 37
0
votes
0 answers
.NET Core project templating Symbol parameters not working
I'm following along with this article on the subject however when I run dotnet new MyCustomTemplate --help I see parameter descriptions and default values but I am not seeing any parameter flags i.e -n, -o, --CustomParamName, etc.
Here is the…

m47791
- 13
- 3
0
votes
1 answer
Can't make Visual Studio 2010 XNA Windows Game project?
I can't make a Visual Studio 2010 XNA Windows Game project. When I do, I receive the following error message:
Now, I already tried running "devenv.exe /InstallVSTemplates" with no luck. This command executes just fine, but all it does is to create…

Mathias Lykkegaard Lorenzen
- 15,031
- 23
- 100
- 187
0
votes
0 answers
Visual studio 2022 project template issues c++
I'm trying to create a template of SFML-IMGUI
I can compile it and it works perfectly
(main function is inside main.cpp)
I've created main.cpp and parametersUI.hpp files, all others are from ImGui / SFML-ImGui
After creating the project template,…

Ringularity
- 47
- 6
0
votes
2 answers
Manually adding Elmah & ApplicationInsights in .csproj file
I created a multi-project template and connected it with a wizard.
Everything is working fine, and I can restore packages using update-package -reinstall in the package console manager.
I'm trying to add Elmah & ApplicationInsights with a condition…

Wild
- 1
- 4
0
votes
1 answer
Where is .Net Core Project Templates?
According to Microsoft documentation, all templates are in the following path
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\\Common7\IDE\ProjectTemplates\\
But I could not find the .NET Core templates and only the…

karma
- 147
- 7