---
title: "Discussion on \"How to Create a NuGet Package that Runs your Console App as an MSBuild Task\" | Hashnode"
description: "Discussion on \"How to Create a NuGet Package that Runs your Console App as an MSBuild Task\". Tutorial using the Build Task NuGet Package Template with GitHub or `dotnet new`"
url: "https://hashnode.com/posts/how-to-create-a-nuget-package-that-runs-your-console-app-as-an-msbuild-task/6107ea7ab97c436d241bda3d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Create a NuGet Package that Runs your Console App as an MSBuild Task](https://blog.codingcoyote.dev/how-to-create-a-nuget-package-that-runs-your-console-app-as-an-msbuild-task?utm_source=hashnode&utm_medium=feed)

Tutorial using the Build Task NuGet Package Template with GitHub or \`dotnet new\`

Aug 2, 2021 · 5 min read · blog.codingcoyote.dev  
Updated Aug 7, 2021  
Read the article

-   [#tricks](https://hashnode.com/tag/tricks)
-   [#template](https://hashnode.com/tag/template)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#net](https://hashnode.com/tag/net)

## Written by

[Curtis Carter](https://hashnode.com/@CodingCoyote)

@CodingCoyote · Arkansas, US

  
[View profile](https://hashnode.com/@CodingCoyote)

Creator of NuGetDefense

I'm a cross-platform (Windows/Linux) dev with deep experience in C# and the .Net stack (from legacy 1.1 through core and .Net 5). I like creating developer tools and teaching others about code and architecture.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
