So connecting to a grid node via parameter seems to work :)
But now I have the opposite problem, how do I avoid using grid nodes via command line parameter?
I.e. isn't
-GridServerReferencesForSolution meant to override the default values from the global config for the computer? I cannot seem to avoid grid nodes being used if they are set up on the global config for the computer. I tried both
Quote:-GridServerReferencesForSolution ""
and
Quote:-GridServerReferencesForSolution "dontwantgridnodes>123="
but still NCrunch connects to a grid node configured in my AppData.../globalconfig.crunch.v3.xml
p.s. You might want to have a better error message for scenario where the input format is invalid, like
-GridServerReferencesForSolution "Joe" below :) d.s.
Quote:
E:\Temp\BuildTmp\packages\Gmd.NCrunch.Console.3.20.0.6-dev.20180907T115754\lib\net45\NCrunch.exe E:\dev\...\CsCommon.UnitTest\Cscommon.Unittest\CsCommon.UnitTest.sln /E "TeamCity Bvt NoSqlServer" /TeamCityDisableTestNotRunFailureReporting -LogVerbosity "Low" -GridServerReferencesForSolution "Joe" /O "E:\Temp\BuildTmp\NCrunchConsole\Result" -WorkspaceBasePath "E:\Temp\BuildTmp\NCrunchConsole\WC" -NCrunchCacheStoragePath "E:\Temp\BuildTmp\NCrunchConsole\Cache"
...
NCrunch Console Tool v3.20.0.6
Copyright © 2010-2018 Remco Software Ltd
Usage of this tool is permitted only under the terms described in License.rtf
ERROR: Configuration setting 'GridServerReferencesForSolution' cannot be overridden using the command line. Try specifying it in a configuration file instead.