Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you remove Moles from a project? (Moles 0.94.51023.0 / VS2010 SP1)

The Problem

Not only can I not use Moles see this post I can't get rid of them either (much like my backyard). I'm sure I'm missing something [not] obvious [to me]. I see I'm not the only person having this issue.

The Symptom

After removing the moles config file (in the project dir I think, don't remember the name) and removing references to the mscorlib moles/behaviors I rebuild and the references are added back. I also removed the MolesAssemblies directory though a link below says that bug was fixed.

Misc links

I found an older reference to removing the MolesAssemblies directory (which I tried) but that was fixed a long time ago.

I also found this detailed suggestion for removing moles at home, but it didn't work either ;)

like image 710
John Dhom Avatar asked Nov 21 '25 14:11

John Dhom


1 Answers

I had to delete any mention of moles from the project directory, including from obj.

like image 63
Daniel Demus Avatar answered Nov 23 '25 23:11

Daniel Demus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!