79313834

Date: 2024-12-28 13:15:46
Score: 1
Natty:
Report link

The issue arises because the /p option is a build property that is passed to the build phase of dotnet test. However, when running tests directly from a DLL (e.g., MyProject.dll), the dotnet test command skips the build phase entirely. Consequently, build properties such as /p:CollectCoverage=true are not applicable.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sentemon