Tim Long;18087 wrote:
I'm not sure if this is related to the same issue but it might be related to the fact that I'm using GitVersion. I right-clicked then "Reload and Rebuild this project" and it build the second time. In fact, thinking about it, the project is not referenced in the test project so it may have just needed a forced build.
Sometimes when VS loads projects they can be in an inconsistent state when NCrunch gets to them. If the problem is gone after a VS rebuild and reload of the NCrunch engine, then most likely it's nothing to worry about.
If it persists under NCrunch and it doesn't show up when building the project via MSBuild (or dotnet build) on the command line, then it's something that warrants attention (from the NCrunch side at least).