Developing Microsoft Azure and Web Services — Question 54
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 publish target specified.
Does the solution meet the goal?
Answer options
- A. Yes
- B. No
Correct answer: A
Explanation
The solution is correct because using the msbuild command with the publish target is the appropriate method to create a NuGet package from a .NET Standard Library. The alternative option 'No' is incorrect as it does not provide a valid method for generating the package.