Skip to content

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

Closed

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);

Activity

  1. added this to the v6.0.0 milestone on Oct 19, 2025
  2. self-assigned this
    on Oct 19, 2025
  3. devlead commented on Oct 19, 2025

    @devlead
    MemberAuthor
    - error Testing with VSTest target is no longer supported by Microsoft.Testing.Platform on .NET 10 SDK and later. 
    - If you use dotnet test, you should opt-in to the new dotnet test experience. 
    - For more information, see https://aka.ms/dotnet-test-mtp-error

    Enabled by adding test runner config to global.json

      "test": {
            "runner": "Microsoft.Testing.Platform"
        }
  4. added 3 commits that reference this issue on Oct 23, 2025
  5. github-actions commented on Nov 11, 2025

    @github-actions

    πŸŽ‰ This issue has been resolved in version v6.0.0 πŸŽ‰

    The release is available on:

    Your GitReleaseManager bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions