Pex and Moles - Downloads
The download packages for Pex and Moles on this page are not compatible with Visual Studio 2012.
- Try Code Digger for Visual Studio 2012 to explore your code.
- Use the Fakes Framework in Visual Studio 2012, which replaces Moles
If you are looking for tools for earlier versions of Visual Studio, pick a package below.
Choose your package
| Academic (Free) | Visual Studio Gallery (Free) |
MSDN Subscribers |
Download Pex and Moles |
Download Moles only |
Download Pex and Moles |
|
Microsoft Research Download license
|
Visual Studio 2010 Power Tools license |
Visual Studio 2010 Power Tools license |
Pex and Moles are Power Tools available for commercial use for MSDN subscribers. Moles is also available separately for commercial use without requiring an MSDN subscription. Pex and Moles are also available for academic and non-commercial use.
Pex Contents
- Pex command line (Visual Studio not required)
- Pex Visual Studio Add-in, for Visual Studio 2008 and Visual Studio 2010
- Moles, see below
- API reference, tutorials and documentation
- Samples and Behaviors
Moles Contents
- Moles, lightweight test stubs and detours for .NET
- API reference, tutorials and documentation
- Samples and Behaviors
Requirements
- Windows 7 32bit / 64bit, W2K8 32bit / 64bit, Windows Server 2008 R2
Other versions of Windows (XP, W2K3, Vista) should work but are untested.
x86, x64 and Wow64 (32-bit running 64-bit OS) are supported. - .NET Framework 2.0/3.0/3.5 and/or 4.0
Pex (including Moles) Visual Studio 2010 Power Tools
- Available to MSDN Subscribers only
- This version requires Visual Studio 2010 Professional (or higher) or Visual Studio 2008 Professional (or higher).
- Release notes
- License: Microsoft Visual Studio 2010 Power Tools Software Terms.

Download Now (requires MSDN subscription) (Visual Studio 2010 Pex and Moles Power Tools)
Moles Visual Studio 2010 Power Tools
- This version requires Visual Studio 2010 Professional (or higher) or Visual Studio 2008 Professional (or higher).
- Release notes
- License: Microsoft Visual Studio 2010 Power Tools Software Terms.
![]()
Download Now for x86
Download Now for x64
Academic Release for non-commercial use only.
- Does not require Visual Studio. If you only have Visual Studio 2010 / 2008 / 2005 Express or even no Visual Studio on the machine, then Pex works from the command line.
- Pex comes with a Visual Studio Add-in and samples which will only work if you have Visual Studio 2010 Professional (or higher) or Visual Studio 2008 Professional (or higher).
- Release notes
- License: MSR-LA, (Microsoft Research License Agreement, Non-Commercial Use Only).

