templating icon indicating copy to clipboard operation
templating copied to clipboard

This repo contains the Template Engine which is used by dotnet new

Results 276 templating issues
Sort by recently updated
recently updated
newest added

Implement support for localizing file content. Example use case for this requirement is localizing comments in code files (this cannot be done via resource files). Example of using comments/strings in...

triaged
feature
Priority:2
area: authoring

I detected changes in the release/6.0.1xx branch which have not been merged yet to release/6.0.4xx. I'm a robot and am configured to help you automatically keep release/6.0.4xx up to date,...

I detected changes in the release/6.0.1xx branch which have not been merged yet to release/6.0.4xx. I'm a robot and am [configured](https://github.com/dotnet/versions/blob/main/Maestro/subscriptions.json) to help you automatically keep release/6.0.4xx up to date,...

it would seem the intent of AllAreTheSame is to allow people to omit passing a comparer ? given the defaulting of the comparer to a value ``` comparer ??= EqualityComparer.Default;...

currently there are places where type is apparent where var is not use ``` List operationConfigReaders = new List(componentManager.OfType()); ``` places where type is apparent where var is used ```...

## Summary I've seen this test fail a few times in the last few days of reviewing PRs. Here, it failed on the Windows Release job: ``` VerifyException : Directory:...

test

## Summary It seems that the `GlobalSettings` is designed in a way where it doesn't clean up properly. The tests for it fail intermittently: ``` Unhandled exception. System.ObjectDisposedException: Cannot access...

test

A few projects set `annotations` as resolving nullable reference type errors requires some work. This issue tracks doing that work and removing the annotations setting.

breaking-change
area: api

https://github.com/dotnet/templating/blob/main/src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/RunSpec.cs ``` internal class RunSpec : IRunSpec { private readonly IReadOnlyList _overrides; internal RunSpec(IReadOnlyList operationOverrides, string? variableFormatString) { _overrides = operationOverrides; VariableFormatString = variableFormatString ?? "{0}"; } public string VariableFormatString...