NCrunch for VS 2012 v1.46.0.20
Immediately after upgrading two new messages appear, neither of which were displayed by the previous version.
The first is "Fusion logging is enabled and is impacting performance". Near as I can tell, Fusion logging is not enabled. The viewer is empty and the registry entry to enable it is disabled: Set-ItemProperty HKLM:\SOFTWARE\Microsoft\Fusion EnableLog 0
This is a warning I can ignore, so life would be confusing but productive were it just this.
The real problem is ccrewrite is now exiting with an error, but only for NCrunch? Here's the output:
Code:
ccrewrite (0)#0: Rewrite aborted due to metadata errors. Check output window
..\..\..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft\Contracts\MsBuild\v4.0\Microsoft.CodeContracts.targets (250)#1: The command ""C:\Program Files (x86)\Microsoft\Contracts\Bin\ccrewrite.exe" "@ClientGateway.Hostccrewrite.rsp"" exited with code -1.
This is the Build Output for the same in VS:
Code:
8>CodeContractRewrite:
8> "C:\Program Files (x86)\Microsoft\Contracts\Bin\ccrewrite.exe" "@ClientGateway.Hostccrewrite.rsp"
8> elapsed time: 583.0078ms
There is nothing in Output for the "NCrunch Diagnostic Output".
The referenced project here is the last in the build order. Several others before it also use Code Contracts. In all cases CONTRACTS_FULL is defined.