---
title: "dotnet new - Muhammad Rehan Saeed"
description: "Blog posts authored by Muhammad Rehan Saeed about dotnet new."
canonical_url: "https://rehansaeed.com/tag/dotnet-new/"
meta:
  author: "Muhammad Rehan Saeed"
  "og:description": "Blog posts authored by Muhammad Rehan Saeed about dotnet new."
  "og:image": "https://rehansaeed.com/_og/s/o_c9f6128fa0fcd381.png"
  "og:image:alt": "# dotnet new - Muhammad Rehan Saeed"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "dotnet new"
  "twitter:image": "https://rehansaeed.com/_og/s/o_c9f6128fa0fcd381.png"
  "twitter:image:alt": "# dotnet new - Muhammad Rehan Saeed"
---

> Index of every page on this site: [llms.txt](https://rehansaeed.com/llms.txt)

# [# dotnet new](https://rehansaeed.com/tag/dotnet-new/)

## [What dotnet new Could Be](https://rehansaeed.com/what-dotnet-new-could-be/)

What the 'dotnet new' CLI command could be if some effort was spent on developing it. I compare it to other templating engines and suggest ideas.

Posted 31 December 2019 - **5 min read**

## [Unit Testing dotnet new Templates](https://rehansaeed.com/unit-testing-dotnet-new-templates/)

It's difficult to know if your 'dotnet new' based project will work if they have lots of options, in this post I show how to unit test them.

Posted 21 August 2019 - **3 min read**

## [dotnet new Feature Selection](https://rehansaeed.com/dotnet-new-feature-selection/)

How to add feature selection to your dotnet new template using symbols (bool, string, choice, computed) and pre-processor directives.

Posted 26 March 2017 - **9 min read**

## [Custom Project Templates Using dotnet new](https://rehansaeed.com/custom-project-templates-using-dotnet-new/)

How to create project templates using dotnet new and the template.json file. How to share project templates by creating NuGet packages.

Posted 18 January 2017 - **4 min read**

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://rehansaeed.com/#website","@type":"WebSite","description":"Software Developer at Microsoft, YouTuber, Open Source Contributor and Blogger","inLanguage":"en-GB","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com/","author":{"@id":"https://rehansaeed.com/#identity"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://rehansaeed.com/?search={search_term_string}"},"query-input":"required name=search_term_string"}],"publisher":{"@id":"https://rehansaeed.com/#publisher"}},{"@id":"https://rehansaeed.com/tag/dotnet-new/#webpage","description":"Blog posts authored by Muhammad Rehan Saeed about dotnet new.","name":"dotnet new","url":"https://rehansaeed.com/tag/dotnet-new/","@type":["WebPage","CollectionPage"],"breadcrumb":{"@id":"https://rehansaeed.com/tag/dotnet-new/#breadcrumb"},"isPartOf":{"@id":"https://rehansaeed.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://rehansaeed.com/tag/dotnet-new/"]}]},{"@id":"https://rehansaeed.com/#identity","@type":"Person","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com/about/","image":{"@id":"https://rehansaeed.com/#/schema/image/1"},"sameAs":["https://github.com/RehanSaeed","https://www.linkedin.com/in/muhammad-rehan-saeed","https://stackoverflow.com/users/1212017/muhammad-rehan-saeed","https://www.youtube.com/c/MuhammadRehanSaeed","https://www.twitch.tv/rehansaeeduk"]},{"@id":"https://rehansaeed.com/#publisher","@type":"Organization","logo":"https://rehansaeed.com/images/schema/Publisher-600x60.png","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com"},{"@id":"https://rehansaeed.com/tag/dotnet-new/#/schema/item-list/1","@type":"ItemList","itemListElement":[{"@type":"ListItem","name":"What dotnet new Could Be","url":"https://rehansaeed.com/what-dotnet-new-could-be/","position":1},{"@type":"ListItem","name":"Unit Testing dotnet new Templates","url":"https://rehansaeed.com/unit-testing-dotnet-new-templates/","position":2},{"@type":"ListItem","name":"dotnet new Feature Selection","url":"https://rehansaeed.com/dotnet-new-feature-selection/","position":3},{"@type":"ListItem","name":"Custom Project Templates Using dotnet new","url":"https://rehansaeed.com/custom-project-templates-using-dotnet-new/","position":4}]},{"@id":"https://rehansaeed.com/tag/dotnet-new/#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Blog","item":"https://rehansaeed.com/","position":1},{"@type":"ListItem","name":"dotnet new","item":"https://rehansaeed.com/tag/dotnet-new/","position":2}]},{"@id":"https://rehansaeed.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://rehansaeed.com/images/author/Muhammad-Rehan-Saeed/Logo-512x512.png","inLanguage":"en-GB","url":"https://rehansaeed.com/images/author/Muhammad-Rehan-Saeed/Logo-512x512.png"}]}
```

## Sitemap

See the full [sitemap](https://rehansaeed.com/sitemap.md) for all pages.
