Hi,
Thanks for sharing this issue.
There is a massive range of things that can cause an issue like this, so I'm afraid I need to ask quite a few questions to try and narrow this down. I'm not sure if you're able to answer them all, but each one will help:
- Do you receive any build warnings that go with this error?
- Try setting your 'Log Verbosity' global configuration setting to 'Detailed', then rebuild this project. Go to the processing queue, then click on the failed build. Does the build log give you any interesting information about the problem? Look particularly closely at the assemblies being referenced and any warnings given about resolution issues
- Are you able to reproduce the problem in a narrower scope (for example, in a dummy solution?)
- Are the interface declaration and class declaration situated in different projects? If so, what happens if you move them together?
- Do you notice any difference if you run NCrunch under compatibility mode?
http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode- Was there anything specific that seemed to trigger the issue to start appearing consistently? Perhaps a code change or change in your environment? (i.e. upgrade of VS2015)