Friday, 24 February 2012

Fixing Gallio ReSharper Runner file not found exception

Visual Studio 2010. Windows 7 x64. ReSharper 5.1. Gallio 3.3.458.0, installed from 64 bit msi.

When debugging a unit test written with Gallio Framework, there is the following system.IO.FileNotFound exception : {"Could not load file or assembly 'Gallio.ReSharperRunner51, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.":"Gallio.ReSharperRunner51, Version=, Culture=neutral, PublicKeyToken=null"}

You click "Continue" and test debugging continues as normal.

It appears that it looked for the Gallio.ReSharperRunner51.DLL in the following paths

C:/Program Files/Gallio/bin
C:/Program Files/Gallio/bin/Gallio.ReSharperRunner51

and the file is not there.

Quick solution would be to get that dll from the zip "bundle" and copy it to C:/Program Files/Gallio/bin.

No comments:

Post a Comment