dotnet-nugetize
1.2.3
dotnet tool install --global dotnet-nugetize --version 1.2.3
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-nugetize --version 1.2.3
#tool dotnet:?package=dotnet-nugetize&version=1.2.3
nuke :add-package dotnet-nugetize --version 1.2.3
The nugetize
dotnet global tool (available after installation) allows quick iteration while creating nuget packages. This is done in the fastest possible way without compromising your customizations to the build process, all without incurring a full build/pack!
Carefully tweaking your packages until they look exactly the way you want them should not be a tedious and slow process. Even requiring your project to be built between changes can be costly and reduce the speed at which you can iterate on the packaging aspects of the project. Also, generating the final .nupkg
, opening it in a tool and inspecting its content, is also not ideal for rapid iteration.
This tool works together with NuGetizer to provide the most productive solution for your packing needs. This is achieved is by a combination of a simulated design-time build that skips the compiler invocation and avoids the output file copying entirely, and built-in support in NuGetizer to emit the entire contents of the package as MSBuild items with full metadata, that the tool can use to render an accurate report that contains exactly the same information that would be used to emit the final .nupkg
without actually generating it.
The following is the output of a comprehensive smart multi-targeted library example from the documentation:
The tool will emit the .nuspec
file so you can inspect precisely what's being packed and from where, should you need to dig deeper. Moreover, it's rendered as a helpful link (in most terminals) so you can click on it directly to open (i.e. from within the VSCode terminal).
NuGetizer supports running nugetize
on all the samples in the documentation directly in your browser in a
As soon as the codespace is running, just use the terminal to go to the desired sample directory and just run nugetize
! You can even open a pwsh
terminal if that's more your thing.
NOTE:
dotnet-nugetize
does not support projects that don't reference the NuGetizer package.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.2.3 | 493 | 8/9/2024 |
1.2.2 | 244 | 5/17/2024 |
1.2.1 | 494 | 11/30/2023 |
1.2.0 | 361 | 10/11/2023 |
1.1.1 | 688 | 8/28/2023 |
1.1.0 | 232 | 8/11/2023 |
1.0.5 | 242 | 7/6/2023 |
1.0.4 | 234 | 5/5/2023 |
1.0.3 | 183 | 5/5/2023 |
1.0.2 | 199 | 4/19/2023 |
1.0.1 | 296 | 3/22/2023 |
1.0.0 | 214 | 3/21/2023 |
1.0.0-rc.1 | 104 | 3/21/2023 |
1.0.0-rc | 222 | 2/26/2023 |
1.0.0-beta | 256 | 2/25/2023 |
1.0.0-alpha | 261 | 2/25/2023 |
0.9.5 | 355 | 2/25/2023 |
0.9.4 | 264 | 2/23/2023 |
0.9.3 | 270 | 2/18/2023 |
0.9.2 | 291 | 2/11/2023 |
0.9.1 | 5,831 | 11/16/2022 |
0.9.0 | 520 | 9/3/2022 |
0.8.0 | 1,073 | 6/9/2022 |
0.8.0-beta | 269 | 6/1/2022 |
0.7.5 | 1,481 | 10/13/2021 |
0.7.4 | 605 | 7/20/2021 |
0.7.3 | 321 | 7/19/2021 |
0.7.2 | 362 | 7/16/2021 |
0.7.1 | 388 | 6/17/2021 |
0.7.0 | 388 | 5/10/2021 |
0.6.2 | 369 | 3/30/2021 |
0.6.1 | 395 | 3/30/2021 |
0.6.0 | 646 | 12/10/2020 |
0.5.0 | 485 | 11/25/2020 |
0.4.12 | 435 | 11/20/2020 |
0.4.11 | 432 | 11/4/2020 |
0.4.10 | 449 | 10/29/2020 |
0.4.9 | 447 | 10/26/2020 |
0.4.8 | 434 | 10/25/2020 |
0.4.7 | 457 | 10/21/2020 |
0.4.6 | 467 | 10/21/2020 |
0.4.5 | 464 | 10/8/2020 |
0.4.4 | 492 | 10/8/2020 |
0.4.3 | 468 | 10/4/2020 |
0.4.2 | 601 | 10/4/2020 |
0.4.1 | 478 | 10/2/2020 |
0.4.0 | 538 | 10/1/2020 |
0.3.0 | 476 | 10/1/2020 |
0.3.0-rc | 302 | 9/30/2020 |
0.3.0-beta | 366 | 9/30/2020 |
0.3.0-alpha | 388 | 9/29/2020 |