I have a following problem: my custom template is on my nuget server( not an official nuget.org server).
I could not find any information about specifying the source of nuget package. For example, as it is implemented in dotnet restore -s my-custom-server.org
command, where parameter -s
, you can pass the source of nuget package, and the packages will be taken from this source.
How can I do the same with command dotnet new -i my_custom_template
? In manual on microsoft site, it is written that you can pass physical path to the file(package) or ID of package on nuget.org server.