JayBazuzi;8466 wrote:
What I mean is: if I have my sources at C:\Projects\Foo on my local machine, that NCrunch puts that at C:\Projects\Foo on the node.
Oh, sorry .. I misunderstood. No, it doesn't do this. Such an approach wouldn't work outside a very narrow use case, as the nodes need the potential to store many different snapshots/solutions on behalf of multiple connected clients. For performance reasons, NCrunch will store solutions on the node over a long term period to prevent needing to re-copy files again and again. It naturally needs somewhere to place these solutions where they can be adequately managed.
There is also no guarantee that file paths can be made the same on the node as they are on the client. For example, if the solution is stored at D:\Projects\MyProject on the client, but there is no D: drive on the node.
The extension of this argument is to make it configurable where to place the solution on the grid node. This is already possible to a certain extent (using the 'Snapshot storage directory' setting on the node), but this system still needs to place solutions in separate compartments, so the path would never be the same as it is on the client. You could argue that it should be made possible to define (via configuration) the storage directory for each solution on a connected client, but this is terribly messy and requires considerable effort ... and would likely be confusing to many people. Compared with a relatively small change to Approvals to have it look for the .txt file using the NCrunch environment variable, such an approach doesn't make much sense.