Skip to content

DotNetSlnList hardcodes English output #4667

@fdw

Description

@fdw

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

Cake runner

Cake Frosting

Cake version

5.1.0

Operating system

Windows

Operating system architecture

x64

CI Server

No response

What are you seeing?

When running context.DotNetSlnList(SolutionFile), no projects are returned. This seems to be because the output is parsed in DotNetSlnLister.ParseResult, but it expects Project(s). If the machine is configured with a different locale, it obviously doesn't match and nothing is returned.

What is expected?

All projects are listed independent of the system's locale

Steps to Reproduce

  1. Configure a different locale than English.
  2. Call context.DotNetSlnList()
  3. Observe that this solution contains no projects.

Output log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions