question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work with Rider / .NET Core 2.1?

See original GitHub issue

I followed the tutorial given https://stryker-mutator.io/stryker-net/quickstart applied to Rider and turns out that the CLI part cannot be installed:

NU1202: Package StrykerMutator.DotNetCoreCli 0.4.0 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package StrykerMutator.DotNetCoreCli 0.4.0 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1) / any
NU1212: Invalid project-package combination for StrykerMutator.DotNetCoreCli 0.4.0. DotnetToolReference project style can only contain references of the DotnetTool type 
Package restore failed. Rolling back package changes for [...]

Which leads me to think that it’s issue regarding the version (2.1) of .NET Core I am using for that (xUnit) Test Project.

Any idea?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
rouke-broersmacommented, Nov 3, 2018

Yes, apologies. We tried to add dotnet global tool support in the previous release, but we did not notice that this broke the dotnet CLI extension tool support. We have reverted this change but need to release a new package for it. In the mean time you could use version 0.3.0 or install stryker as a global dotnet tool instead of a package reference in your project.

1reaction
rouke-broersmacommented, Nov 3, 2018

@ehouarn-perret We do not currently have any way to manually specify files to mutate, but your case should be possible once we have this feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't select .NET Core 2.1 as Framework : RIDER-69301
NET Core 2.1 SDK; Open Rider Preferences -> Build, Execution, Deployment -> Toolset and Build ... NET Core 2.1 is not an option...
Read more >
Rider freez with ASP.NET Core 2.1 application
I have an ASP.NET Core 2.1 application on Mac. When I am trying to build the application it freezes at the middle and...
Read more >
NETSDK1045: The current .NET SDK does not support ...
Go to Tools > Options > Environment > Preview Features, and make sure that Use previews of the . NET Core SDK is...
Read more >
Installing .net core 3.1 on m1 ARM mac : r/dotnet
I'm trying to install .net core 3.1 on my arm mac but I'm not sure what I'm doing wrong. I've downloaded the x64...
Read more >
Upgrading from .NET Core 2.1 to .NET 6.0
I upgraded an old project from .NET Core 2.1 to .NET 6. ... To fix these issues, we'll need to start by upgrading...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found