dotnet-template-samples icon indicating copy to clipboard operation
dotnet-template-samples copied to clipboard

Samples showing how to create templates using the Template Engine for dotnet new and Visual Studio

Results 20 dotnet-template-samples issues
Sort by recently updated
recently updated
newest added

# Problem I need to be able to optionally add/remove NuGet packages from a project based on a symbol's value. I would love if we had a sample that accomplished...

I noticed the links on https://github.com/dotnet/dotnet-template-samples/tree/master/09-replace-onlyif-after were getting 404, updated to the proper files

See https://github.com/dotnet/dotnet-template-samples/pull/20#issuecomment-330354670 We should update the templates to use the same naming patterns.

See https://github.com/dotnet/templating/issues/1238 for details.

help wanted

Add a sample showing how to rename a file

help wanted

See https://github.com/dotnet/templating/issues/1213#issuecomment-322947460

help wanted

We should create a folder that has a bunch of files and we demonstrate replacements. This is to support the doc found at https://github.com/dotnet/templating/wiki/Reference-for-comment-syntax

help wanted

I'm not aware of any documentation and/or samples on how to package up a group of templates as a nupkg (though we do have documentation on actually installing from a...

help wanted

Is possibile to create package the template in lot of ways (nuget, nuspec, csproj, prj) The best one i know atm is doing just with a `.proj` (any extension is...

Add a few samples showing Value Forms

help wanted