This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each question.
How would you install a framework like Humanizer?
Run dotnet add Humanizer
dotnet add Humanizer
Run dotnet add package Humanizer
dotnet add package Humanizer
Run dotnet install Humanizer
dotnet install Humanizer
Run dotnet download package Humanizer
dotnet download package Humanizer
What version change would signify a minor version when a package uses semantic versioning?
1.1.1 changes to 1.2.0
1.0.1 changes to 1.0.2
1.0.0 changes to 2.0.0
How do you configure a project file so that you get only patch (bug fix) updates?
Locate the entry in the project file and set the entry to look like this one: <PackageReference Include="<package>" Version="*"/>
<PackageReference Include="<package>" Version="*"/>
Locate the entry in the project file and set the entry to look like this one: <PackageReference Include="<package>" Version="2.*"/>
<PackageReference Include="<package>" Version="2.*"/>
Locate the entry in the project file and set the entry to look like this one: <PackageReference Include="<package>" Version="2.7.*"/>
<PackageReference Include="<package>" Version="2.7.*"/>
Locate the entry in the project file and set the entry to look like this one: <PackageReference Include="<package>" Version="[6,7)"/>
<PackageReference Include="<package>" Version="[6,7)"/>
How would you check if a new version of a framework is available?
Run dotnet list outdated
dotnet list outdated
Run dotnet list package outdated
dotnet list package outdated
Run dotnet list --outdated
dotnet list --outdated
Run dotnet list package --outdated
dotnet list package --outdated
You must answer all questions before checking your work.
Was this page helpful?