Good morning Remco,
well it looks like this:
.. but more interestingly (after enabling logging), I saw this:
Code:
[11:47:12.6242-LocalBuildTask-107] Copying project MyProject.Backend.Api resource C:\Users\joerg\AppData\Local\NCrunch\24832\8\Sources\Backend\MyProject.Backend.Api\obj\Debug\ApplicationInsights.config to C:\Users\joerg\AppData\Local\NCrunch\24832\9\Workspaces\MyProject\Development\Sources\Backend\MyProject.Backend.Api.Tests\bin\Debug\obj\Debug\ApplicationInsights.config
[11:47:12.6262-LocalBuildTask-107] ERROR (Internal): System.IO.PathTooLongException: The path 'C:\Users\joerg\AppData\Local\NCrunch\24832\9\Workspaces\MyProject\Development\Sources\Backend\MyProject.Backend.Api.Tests\bin\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.12.0-build02810\lib\native\x86\Microsoft.ApplicationInsights.Extensions.Intercept_x86.dll' could not be processed because it exceeded the maximum allowed length of 259 characters
at nCrunch.Common.IO.DiskPath..ctor(String absolutePath, Boolean pathIsChecked)
at nCrunch.Common.IO.FilePath..ctor(String , Boolean )
at nCrunch.Common.IO.FilePath.Rebase(DirectoryPath originalBase, DirectoryPath newBase)
at nCrunch.Core.BuildManagement.BuildEnvironment.(DirectoryPath , IList`1 )
at nCrunch.Core.BuildManagement.BuildEnvironment.Build(SnapshotComponent snapshotComponentToBuild, IList`1 referencedComponents, GridClientId gridClientId, CustomEnvironmentVariable[] customEnvironmentVariables)
at nCrunch.Core.Processing.BuildTaskLogic.DoProcessTaskAndReturnSuccessFlag()
at nCrunch.Core.Processing.TaskLogic.ProcessTaskAndReturnSuccessFlag()
at nCrunch.Client.Processing.LocalProcessingTask.ProcessTaskAndReturnSuccessFlag()
at nCrunch.Client.Processing.ProcessingQueue.(LocalProcessingTask )
Now that 3rd party NuGet package has an outrageously long name for sure, but it being an 3rd party dependency (of a dependency etc) is there a way to make this work nevertheless?
Either by manually changing NCrunch's local workspace and/or in the long run, have NCrunch support longpaths (if that's even an option beyond what you could do with e.g. (for now) p/invoking win32's native longpath support or use one of the wrappers (Microsoft (http://bcl.codeplex.com/releases/view/42783) or otherwise (http://blog.peterritchie.com/?p=2121) .. or in the future:
http://referencesource.m...b/system/io/longpath.cs).
I've uploaded the entire log at: (- BROKEN LINK -)(- BROKEN LINK -)[/url]
Thanks,
-Jörg