Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Rider: Cannot enable NCrunch if opening a csproj file instead of sln
GreenMoose
#1 Posted : Friday, March 15, 2024 9:37:30 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
[v5.3.0.2]

If I open a csproj file in Rider "Enable NCrunch" is grayed out (it works in VStudio).
IF adding the same csproj file to a solution and open the solution, "Enable NCrunch" becomes enabled.
michaelkroes
#2 Posted : Friday, March 15, 2024 10:19:53 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 281
Location: Netherlands

Thanks: 125 times
Was thanked: 66 time(s) in 63 post(s)
I don't know if we can solve this under Rider. The plugin life cycle is currently tied to the solution life cycle. I'll have to look into this, I'm putting a task on our board
GreenMoose
#3 Posted : Friday, March 15, 2024 10:53:46 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
Ok. FWIW, IMHO it's a minor issue. I just happened to notice it when trying out to do a repro. NCrunch even states "You can Enable NCrunch<...>while a solution is open." (in both VS/Rider though).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.023 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download