dotnetcli-init icon indicating copy to clipboard operation
dotnetcli-init copied to clipboard

.NET CLI tool to initialize NuGet metadata in a .csproj file

dotnet-init

.NET CLI tool to initialize NuGet metadata in a .csproj file.

This utility will walk you through initializing NuGet metadata in the current project. It only covers the most common items, and tries to guess sensible defaults.

Full reference for NuGet properties in .csproj is available from Microsoft.

How to get it? From NuGet of course!

Edit your .csproj and add:

<ItemGroup>
	<DotNetCliToolReference Include="DotNetInit" Version="*" />
</ItemGroup>

How to run it?

dotnet init

dotnet init