PackageType does not work with PackAsTool · Issue #14220 · NuGet/Home

NuGet Product(s) Affected dotnet.exe Current Behavior Today, these two features do not work together: <PackAsTool>true</PackAsTool> - pack your console app as a .NET tool <PackageType>DotnetTool;My...</packagetype>