exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 183 discussion

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

A company has an enterprise library that targets the full .NET framework.
You must convert the library to target .NET Standard. You replace the original project file a .NET Standard project file. When you compile the library, the compiler throws the following errors:

You need to resolve the errors.
Which two actions should you perform? Each correct answer presents part of the solution. (Choose two.)
NOTE: Each correct selection is worth one point.

  • A. Delete the bin folder and recompile the library.
  • B. Add the GenerateAssemblyInfo property to the .NET Standard project file set the value to False.
  • C. Add the GenerateAssemblyInfo property to the .NET Standard project file set the value to True.
  • D. Delete the Properties folder and recompile the library.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
lollo1234
Highly Voted 4 years, 8 months ago
I think A & B is correct. See the answer here https://stackoverflow.com/questions/46727007/how-to-change-assembly-info-in-asp-net-core
upvoted 5 times
...
dutchHunter
Most Recent 4 years, 9 months ago
A & B is correct. For B: https://compiledexperience.com/blog/posts/assemblyinfo-generation
upvoted 2 times
...
calt85
5 years ago
CD. Tested with Visual Studio!
upvoted 3 times
Anette
4 years, 9 months ago
any other hint for this?
upvoted 1 times
...
...
mr_
5 years ago
Shouldn't it be A & C?
upvoted 1 times
mr_
5 years ago
Sorry I would go for complete opposite to proposed solution - C & D. We need to regenerate assembly info but in different way - specific to .NET Standard project (so no Properties\AssemblyInfo.cs). That is why I would delete that folder and not the bin one.
upvoted 1 times
aarset89
5 years ago
I guess A & B are correct because of this "You replace the original project file a .NET Standard project file". keyword is Replace.
upvoted 2 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 ...