Dotnet pack -c debug

Ricardo Cadete 0 Reputation points
2024-07-18T13:06:55.6233333+00:00

In this tutorial,

https://learn.microsoft.com/en-gb/training/modules/blazor-build-reusable-components/5-nuget-package

there is the instruction to run 'dotnet pack' but this does not create the the file at

My.FirstClassLibrary.0.1.0.nupkg to your bin/Debug folder

but at

My.FirstClassLibrary.0.1.0.nupkg to your bin/Release folder

The correct instruction should be:

'dotnet pack -c Debug'

then the following instructions should work

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,288 questions
{count} votes