Ok, I have some theories about this issue.
My first theory is that the grid node is missing a package that exists on the client machine. NCrunch generally transfers packages over from the client to the node, but the installation paths and manner of certain system-level packages can be quite varied between versions of .NET, so its quite possible this system doesn't handle some of the built-in ones. Something worth trying is to manually copy the project over to the grid node, then perform a package restore on it from there. This will cause the node to download the required packages and make sure they are installed.
My second theory is an SDK inconsistency between the client and the node. Check to make sure you have the same versions of the .NET SDK installed between your client and node. The older versions shouldn't matter much, but the newest version does. If the node is running a different build of .NET 8 to your client, this can cause problems.
My third theory is that the MSBuild SDK change we introduced in 4.19 has triggered an issue between your client and node, such that the node is running a whole different version of MSBuild to your client machine. This can be resolved by setting your
Build Sdk NCrunch project-level config setting to a value that is sensible for your environment. Note that the chosen SDK must be present on both machines with the exact same version.