Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
Pex and Moles - Downloads

The download packages for Pex and Moles on this page are not compatible with Visual Studio 2012.

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


  • 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

MSDN Subscription Download

Download Now (requires MSDN subscription) (Visual Studio 2010 Pex and Moles Power Tools)



Moles Visual Studio 2010 Power Tools

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).

            Download Now 

Current Version: 0.94.51023.0
Published: 10/23/2010

Release Notes