Home > Articles

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

  1. What command can you execute to compile and bundle a project as a NuGet package?

  2. What project event handlers can you configure in a .csproj file?

  3. How do you build an application by using the dotnet tool?

Answers

  1. dotnet pack

  2. BeforeTargets Build, AfterTargets Build,BeforeTargets Publish, and AfterTargets Publish

  3. Use dotnet build

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.