stryker-mutator / stryker-net

Mutation testing for .NET core and .NET framework!
https://stryker-mutator.io
Apache License 2.0
1.75k stars 176 forks source link

Specify which project file to use because contains more than one project file. #2371

Closed codmw44 closed 1 week ago

codmw44 commented 1 year ago

Describe the bug During run 'dotnet stryker' output is

Specify which project file to use because this '/Users/andrewv/Desktop/DummyProject' contains more than one project file. Even with specify project at stryker-config.json and by command line

Logs stryker Specify which project file to use.log

Expected behavior Find exist project

Desktop (please complete the following information):

rouke-broersma commented 1 year ago

You should run from the folder where either your sln or your csproj is located. You're currently running from your desktop.

codmw44 commented 1 year ago

Please take a look on the last two commands

andrewv@m-andreyv-23T5 DummyProject % dotnet stryker --verbosity trace --log-to-file -f "./stryker-config.json" 
Specify which project file to use because this '/Users/andrewv/Desktop/DummyProject' contains more than one project file.
Liam-Rougoor commented 1 year ago

What does your stryker-config look like? Did you specify the project there?