A project that has run NCrunch for many months using v2.x stops building in VS2015 using NCrunch v3.2 & v3.6. Here is the error:
NCrunch: If you are experiencing problems in getting this project to build, have a look at
http://www.ncrunch.net/d...ng_project-build-issues
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at _Mono.Cecil.Cil.CodeReader.ReadMethodBody()
at _Mono.Cecil.Cil.CodeReader.ReadMethodBody(MethodDefinition method)
at _Mono.Cecil.MethodDefinition.<>c.<get_Body>b__36_0(MethodDefinition method, MetadataReader reader)
at _Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TItem item, Func`3 read)
at _Mono.Cecil.MethodDefinition.get_Body()
at nCrunch.Reflection.Cecil.CecilMethod.get_HasBody()
We tried rearranging the options using the Config Wizard but nothing makes it go away. None of the topics in "troubleshooting_project-build-issues" seem to apply.
Again, this project runs fine under v2.27 but fails using v3.x that was tried on two different VS installs against the same code base. Reinstalling v2.27 gets us working again but will prevent future upgrades until fixed.
Thanks!