-
Notifications
You must be signed in to change notification settings - Fork 215
Description
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.