exam questions

Exam 70-487 All Questions

View all questions & answers for the 70-487 exam

Exam 70-487 topic 1 question 99 discussion

Actual exam question from Microsoft's 70-487
Question #: 99
Topic #: 1
[All 70-487 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have developed a .NET Standard Library.
You need to produce a NuGet package.
Solution: Run the msbuild command with the pack target specified.
Does the solution meet the goal?

  • A. Yes
  • B. No A
Show Suggested Answer Hide Answer
Suggested Answer: Explanation 🗳️
Package the component with the NuGet pack command. The dotnet pack command and msbuild -t:pack may be used as alternates.
References:
https://docs.microsoft.com/en-us/nuget/tools/cli-ref-pack
https://docs.microsoft.com/en-us/nuget/guides/create-net-standard-packages-vs2015

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Naveenvarma
Highly Voted 5 years, 4 months ago
Answer:A
upvoted 13 times
...
hungry_ape9000
Most Recent 4 years, 6 months ago
It is not msbuild with pack command. It is either NuGet pack or dotnet pack
upvoted 1 times
hungry_ape9000
4 years, 6 months ago
Reading further, i was incorrect, apparently msbuild pack is a variation of dotnet pack https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package-msbuild
upvoted 1 times
...
...
Jobair
4 years, 6 months ago
The correct option/answer is showing on the question. Moderator, please fix the issue, no need to approve this comment
upvoted 2 times
klassanov
4 years, 5 months ago
And there are many other questions showing the correct answer on the question
upvoted 2 times
...
...
supersunny
5 years, 3 months ago
I support A as well.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago