Project Description

AgUnit is a plugin for Jetbrains ReSharper (R#) that allows you to run and debug Silverlight unit tests from within Visual Studio.

AgUnit currently supports Silverlight 3/4/5, ReSharper 8.0, Visual Studio 2010/2012/2013 and the MSTest framework from the Silverlight toolkit, NUnit-Silverlight or xUnitContrib-Silverlight. (see below)

Support for and ReSharper 9 and onward is not planned, see:


ReSharper 8 & Visual Studio 2010/2012/2013 support is now available in AgUnit 0.8 !

The code is on GitHub at

To build from source:

    git clone
    cd AgUnit
    git submodule update --init
    start build.vs2012.bat

Then copy the files from the "output" folder to a subfolder in the "Bin\Plugins" folder of your ReSharper installation.
For example: C:\Program Files (x86)\JetBrains\ReSharper\v8.0\Bin\Plugins\AgUnit\
Create these folders if they don't exist already.


  • The plugin shows an error and fails to load!
Make sure Windows is not blocking any of the assemblies: for all the files (dll, pdb, xap, ...), open the file properties (right click in explorer > Properties) and click the "Unblock" button if present.
You can avoid this by unblocking the AgUnit .zip file before extracting it or by using a tool like 7-zip.
  • My tests don't run! / All my tests show up as ignored!
Something is going wrong inside the test runner. Feel free to start a discussion here on CodePlex or GitHub and we will help you.
  • Why don't you support feature X / framework X / Visual Studio X / ReSharper X / ... ?
Let us know and we might consider it. Feel free to contribute.

MSTest support

You will need the MSTest files included with the Silverlight toolkit.

NUnit support

NUnit tests can be run by using the nunit-silverlight project from your Silverlight test project.

XUnit support

XUnit tests can be run by using the xunitcontrib-silverlight project from your Silverlight test project.
You will also need to install the xunitcontrib-resharper plugin.


Jason Jarrett for providing us with StatLight:


My colleagues at Item Solutions for using and supporting AgUnit:

Item Solutions

Last edited Feb 5 at 2:33 PM by SDeKock, version 97