Skip to content

.NET Test Platform Requires --project <PROJECT_PATH> / --solution <SOLUTION_PATH to be specified #4627

@devlead

Description

@devlead

public class DotNetTestSettings : DotNetSettings

Options:
  --project <PROJECT_PATH>                        Defines the path of the project file to run (folder name or full path). If not specified, it defaults to the current directory.
  --solution <SOLUTION_PATH>                      Defines the path of the solution file to run. If not specified, it defaults to the current directory.

Probably something like

public enum DotNetTestPathType
{
    None,  // default
    Auto,
    Project,
    Solution
}

that on .NET 10 or greater prefixes --project or --solution based on DotNetTestPathType

builder.AppendQuoted(project);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions