This chapter is from the book
Workshop
The workshop contains quiz questions and exercises to help you solidify your understanding of the material covered. Try to answer all questions before looking at the “Answers” that follow.
Quiz
What command can you execute to compile and bundle a project as a NuGet package?
What project event handlers can you configure in a .csproj file?
How do you build an application by using the dotnet tool?
Answers
dotnet pack
BeforeTargets Build, AfterTargets Build,BeforeTargets Publish, and AfterTargets Publish
Use dotnet build