Hi. I'm on version 2.23.0.2. I just updated my solution to use NuGet 3 and project.json for all projects, and now I'm getting the following exception on build all 3 of my Azure worker/webrole projects:
System.NullReferenceException: Object reference not set to an instance of an object.
at nCrunch.Common.IO.DiskPath.DoRebase(DirectoryPath originalBase, DirectoryPath newBase)
at nCrunch.Core.BuildManagement.BuildEnvironment.(FilePath , DirectoryPath , DirectoryPath )
at nCrunch.Core.BuildManagement.BuildEnvironment.(BuildOutput , IList`1 )
at nCrunch.Core.BuildManagement.BuildEnvironment.Build(SnapshotComponent snapshotComponentToBuild, IList`1 referencedComponents, GridClientId gridClientId, IList`1 customEnvironmentVariables)
All of the projects build fine via msbuild on command line and in Visual Studio.
Tail of the detailed log:
15:00:51.3162 [6] - Building from working directory: D:\ncrunch\28768\38\<redacted>
15:00:54.1601 [6] - Build successful
15:00:54.1621 [6] - Found output assembly: D:\ncrunch\28768\38\src\<redacted>
15:00:54.2182 [6] - Instrumenting output assembly: D:\ncrunch\28768\38\src\<redacted>
15:00:54.3283 [6] - Resolved assembly mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 to path C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll
15:00:54.4023 [6] - Resolved assembly <redacted>, Version=1.15.0.0, Culture=neutral, PublicKeyToken=null to path D:\ncrunch\28768\4\src\<redacted>
15:00:54.4774 [6] - Resolved assembly <redacted>, Version=1.15.0.0, Culture=neutral, PublicKeyToken=null to path D:\ncrunch\28768\1\src\<redacted>
15:00:54.4904 [6] - Scanning for tests using frameworks configured with static analysis
15:00:54.4904 [6] - 0 tests were discovered with static analysis
[15:00:54.5595-LocalBuildTask-24] Task processing complete for [LocalBuildTask: [SnapshotComponent: Service, 39, 5836656], BeingProcessed, (local)], processing time: 00:00:00
[15:00:54.56-LocalBuildTask-24] Publishing Event: [ :[LocalBuildTask: [SnapshotComponent: Service, 39, 5836656], BeingProcessed, (local)]]
[15:00:54.56-LocalBuildTask-24] Event [ :[LocalBuildTask: [SnapshotComponent: Service, 39, 5836656], BeingProcessed, (local)]] is being published on thread CoreThread to subscriber: ProcessingQueue.
[15:00:54.56-LocalBuildTask-24] Event [ :[LocalBuildTask: [SnapshotComponent: Service, 39, 5836656], BeingProcessed, (local)]] is being published on thread UIThread to subscriber: SharedEventPump.
I can send you the full log offline if necesary.
Thanks