Skip to content

Running dotnet stryker using .net 10 fails in pipeline #3351

@SrChronus

Description

@SrChronus

Describe the bug
When I run dotnet stryker against my solution it fails in my pipeline when I upgrade my solution to .net 10
The pipeline runs fine against .net 9
Locally everything works on both 9 and 10.

Logs

Version: 4.8.1

[12:21:53 INF] Analysis starting.
[12:21:53 INF] Identifying projects to mutate in /azp/_work/1/s/Src/GBS/my.project.sln. This can take a while.
[12:21:56 INF] Analysis complete.
[12:21:56 ERR] An error occurred during the mutation test run
System.FormatException: Commandline could not be parsed.
at Stryker.Core.Initialisation.InputFileResolver.AnalyzeAllNeededProjects(List1 projectList, IStrykerOptions options, IAnalyzerManager manager, ScanMode mode) at Stryker.Core.Initialisation.InputFileResolver.AnalyzeAndIdentifyProjects(List1 projectList, IStrykerOptions options, IAnalyzerManager manager, ScanMode mode)
at Stryker.Core.Initialisation.InputFileResolver.ResolveSourceProjectInfos(IStrykerOptions options)
at Stryker.Core.Initialisation.InitialisationProcess.GetMutableProjectsInfo(IStrykerOptions options)
at Stryker.Core.Initialisation.ProjectOrchestrator.MutateProjects(IStrykerOptions options, IReporter reporters, ITestRunner runner)
at Stryker.Core.StrykerRunner.RunMutationTest(IStrykerInputs inputs, ILoggerFactory loggerFactory, IProjectOrchestrator projectOrchestrator)

Expected behavior
no crash

Desktop (please complete the following information):

  • OS: locally windows, pipeline ubuntu 22.40
  • Type of project: .net core 9/10

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions