If you use GitVersionTask to update the assembly info files in any of the projects, NCrunch will fail to build it. This leads to errors with SDK-style projects because the Version won't be set and targets will fail.
GitVersionTask looks up the directory tree for the .git directory.
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
..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.GenerateAssemblyInfo.targets (120, 5): The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion".
..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.targets (92, 5): The "GenerateDepsFile" task was not given a value for the required parameter "AssemblyVersion".
WARNING - : WARN [03/17/17 9:45:55:75] Could not determine assembly version: System.IO.DirectoryNotFoundException: Can't find the .git directory in C:\Users\oren\AppData\Local\NCrunch\28412\6\System.Interactive.Async
at GitVersion.GitPreparer.GetDotGitDirectory()
at GitVersion.ExecuteCore.ExecuteGitVersion(String targetUrl, String dynamicRepositoryLocation, Authentication authentication, String targetBranch, Boolean noFetch, String workingDirectory, String commitId, Config overrideConfig, Boolean noCache)