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

I'm trying to dynamically add a new package reference to a solution template based on a symbol set previously through parameters in the post actions of my template, like this...

need-customer-info

### Problem #4700 Target file re-reading is occuring multiple times - utilizing I/O ### Solution Extract target stream operations into separate class, added implementation that uses `MemoryStream` with fixed maximum...

### Problem #4142 ### Solution Made template configuration model available via API. Model is read-only. To enable creation more refactoring is required. ### Checks: - [x] Added unit tests -...

When the evaluation result of msbuild condition expression is false and inside the element there is xml comment mark(for example as below), MSBuild conditional processing couldn’t find the correct end...

triaged

### Problem Test running on OSX takes obviously longer time than other platforms. ### Solution Add log monitoring execution time for investigation. ### Checks: - [ ] Added unit tests...

do-not-merge

### Problem Test running on OSX takes obviously longer time than other platforms. ### Solution Add log monitoring execution time for investigation using SDK 7.0.100 Preview 6. ### Checks: -...

do-not-merge

I have a solution template that creates a solution and 2 projects. The output structure should look like this: * MyName.sln * src * MyName * MyName.csproj * tests *...

triaged
area: Visual Studio

At the moment there is a kind of circular dependency for CLI template engine host: - CLI host needs to know output directory to setup the host default parameters -...

triaged
area: refactoring

# Background Previous releases of the SDK have been made more difficult due to the separation between templating (where `dotnet new` is implemented and the `console` and `classlib` templates are...

triaged
User Story
Priority:2
Cost:XL
parent:1465581
7.0

- move existing integration tests to sdk (dotnet new part) - keep only unit tests in dotnet/templating ---- Just curious - this will now not exercise local code changes form...

triaged