Answer the question
In order to leave comments, you need to log in
How to add a nuget package to a project template?
I have created a project (c++ project) and would like to convert it to a template. Everything works fine except that visual studio doesn't add the nuget package (mine is vld if that will affect the answer) to the template and needs to be added after creating a new project. How can this be fixed?
PS Yes, I saw the article https://docs.microsoft.com/ru-ru/nuget/visual-stud... , but I didn’t understand what exactly and where to enter, so if you offer a similar method, please specify .
Answer the question
In order to leave comments, you need to log in
Here is an example of quite complex templates.
There are project templates and file templates.
https://github.com/AvaloniaUI/avalonia-dotnet-templates
And here's another
doc https://docs.microsoft.com/ru-ru/dotnet/core/tools...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question