Haven't just set up a grid server, it seems to be building code and running tests successfully but emits these warnings for projects that target .net standard...
<Project name> : Unable to build .NET Core/Standard under the local system account
"NET Core and NET Standard projects can't be reliably built under a local system account."
Both grid node and local client are 3.31.03.
I don't see these warnings when building locally or if I remote into the machine hosting the grid server and run Ncrunch using the local server from VS.
I can manually hide the warnings but are they trying to tell me something I should be concerned about?
If it works it should be fine, but that can change at any time.
When using NET Core or NET Standard it is advisable to run the NCrunch Grid Node Service under a different account or directly from the console. You can change the account used by changing the Log On As setting for the NCrunch Grid Node Service in the services control panel. That is accessible through services.msc.
You can also stop the service and start NCrunch.GridNode.Console.exe. This is similar to running NCrunch from inside Visual Studio. This allows you to access data under the local account or the UI.
Thanks Michael, will give that a try. Just curious what is actually going on to cause this warning though - is .net core only being installed per-user rather than per-machine?
The problem is that the nuget cache is stored under Windows\System32, this can cause unexpected problems for some OS configurations. Generally it's not a good idea to store the cache there.