jason duffett.

Could not load type 'Machine.Specifications.Utility.Naming'

tech 1 min read

Ever seen this error in ReSharper test runner using MSpec?

System.TypeLoadException: Could not load type 'Machine.Specifications.Utility.Naming' from assembly 'Machine.Specifications, Version=0.4.12.0, Culture=neutral, PublicKeyToken=null'.

Did you recently update the version of MSpec you are using?

Did you forget to update the ReSharper runner?

Sure you did.

Close Visual Studio & re-run the InstallResharperRunner.X.X - VSXXXX.bat script that is distributed with Machine.Specifications and all will be well.