Using NuGet inVS Project Templates

And i dont think it fits my context, i already have several project templates in a shared folder as zip templates (no visx, just zip).

I want to put in the templates the dependencies (nuget packages) spec but no the nupkg files, what i want is when a developer do new project -> my template he gets the project with the packages.config file and installs the packages from our local repository
automatically, alternative could be on the build he gets the missing packages with the "packages restore on build function", can this be done, what i have to do in the .vstemplate file ??

you can include in your template the packages.config file, together with the nuget.targets and the nuget.exe command. These are required for package restore to work, although it feel weirds to include an .exe in the project.