I added Moles to a project in VS2010, decided I didn't want to use it and then removed the Moles reference and the .behaviours and .moles assemblies. The problem is that I repeatedl开发者_运维知识库y find Moles has been readded to the project with no intervention from me. Is there some kind of setting external to a project that will auto-add it if it's installed?
Be sure you have done the following:
- Remove the references to the moles assemblies (e.g. "MyAssembly.Moles")
- Remove reference: Microsoft.Moles.Framework
- Remove all .moles files (toggle the "Show all files" button in the solution explorer -- you must select the test class before doing so)
- Delete the "Moled Assemblies" folder
- Clean the test project (right-click the project in Solution Explorer, and then select Clean)
- Rebuild the test project
- Bask in the glory of a Moles-free test project
UPDATE (2 JULY 2012) I recommend shifting to .NET 4.5 Fakes and Stubs (currently in Release Candidate version). Fakes and Stubs are the productized version of Moles, and are fully supported.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论