4

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 any documentation or does anyone know how to make a template for ASP.core?

EDIT: I followed the instructions in the first link you gave me, but it still doesn't work. I don't get all the files I made in my template. Any solutions?

My project

enter image description here

Joestoen
  • 545
  • 1
  • 5
  • 14
  • the current tooling is temporary, .xproj and project.json will be going away and ideas from it will be incorporated in .csproj project system. I would wait until then to try to make templates – Joe Audette Sep 30 '16 at 12:58

2 Answers2

0

I found the following answer to be helpful when I was running into a similar issue with a NET Core project template: Project template for Visual Studio 2015

The suggestion to add

<CreateInPlace>true</CreateInPlace>

in between the tag for

<TemplateData></TemplateData>

fixed it for me; otherwise, I would simply end up with an empty project.

Community
  • 1
  • 1
I. Buchan
  • 421
  • 4
  • 13