❔ ✅ Moq problems with "MethodCall.cs"
I'm running Moq in VS Code using Linux... Trying to verify any calls, even no calls just sends me to "_/src/Moq/MethodCall.cs" which apparently doesn't exist!
I have no idea what's wrong, I've reinstalled the package and rebuilt the code. Setting up the functions doesn't produce any errors, only when I go to verify.
10 Replies
Which version of Moq are you using?
Version 4.20 started including spyware that breaks the library completely on non-Windows systems
I see, I was trying 4.18 then upgraded to see if that would fix it
What version would you recommend
Either pin it to 4.18 and never update it, or switch to another mocking library
4.18 was the last version without the included spyware
What other library do you recommend?
FakeItEasy or NSubstitute
Thank you!
:D
Coming in here to say thank you again, FakeItEasy works flawlessly!
Nice
consider closing this thread using /close
Just did! Sorry about that!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.