templating
templating copied to clipboard
This repo contains the Template Engine which is used by dotnet new
### Is your feature request related to a problem? Please describe. I'm working on a template that requires an unique ID to be included in the output. This ID must...
Background: https://github.com/dotnet/sdk/blob/3c407ae54b6715d0f68a45bf774c19525f0a3459/src/Layout/redist/targets/OverlaySdkOnLKG.targets#L17-L45 During sdk layout preparation templates are copied from stage 0 as well as just built packages is used. The step errors out when templates of more than one...
### Is your feature request related to a problem? Please describe. Currently add a property to JSON as a post action is a great feature. However, it falls short of...
1. Avoid .NET Standard 1.x dependencies in the repository completely. The remaining test package dependency that brings netstandard1.x is FakeItEasy. For that one, upgrade the transitive Castle.Core dependency to 5.x....
As a template author, I want a way to validate the templates, so that I can validate template before the publish. **Audience**: template authors ## Background The template configuration requires...
The file created by `dotnet new editorconfig` ([source](https://github.com/dotnet/sdk/blob/main/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/EditorConfig/Dotnet/.editorconfig)) does not contain all available rules. Compared with an EditorConfig file exported by Visual Studio 2022 (via Tools - Options - Text...
Most of the files in template content doesn't have any operations but still are being processed each time the template is run. Suggestion: - pre-process the template on installing time...
Related to #5381 Migrate selected tests from https://github.com/dotnet/sdk/tree/main/src/Tests/dotnet-new.Tests to dotnet/templating. The list TBD.
Currently C# language version 12 is not supported yet. Uncomment it in `CommonTemplatesTests` test matrix, when available.
# Background ## Tasks - [x] https://github.com/dotnet/templating/issues/6021 - [x] https://github.com/dotnet/templating/issues/6022 - [x] https://github.com/dotnet/templating/issues/3267 --- Originating issue: https://github.com/dotnet/templating/issues/3267 as proposed by @andrebaltieri The initial description: Today we have a lot of...