Skip to content

Instantly share code, notes, and snippets.

@domingoladron
Created August 20, 2019 08:34
Show Gist options
  • Select an option

  • Save domingoladron/ce45f326e28393a37ad2ecf6d7d7ab18 to your computer and use it in GitHub Desktop.

Select an option

Save domingoladron/ce45f326e28393a37ad2ecf6d7d7ab18 to your computer and use it in GitHub Desktop.
dotnet-tool-create-csproj-example
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
<PackAsTool>true</PackAsTool>
<ToolCommandName>sayhowdy</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
<AssemblyName>SayHowdy</AssemblyName>
<RootNamespace>SayHowdy</RootNamespace>
</PropertyGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment