Build/Test Issues

Where to get a list of all Console Tool Settings

Started by pbassett on 1,859 views

When I run the console tool without any arguments, it prints out a usage guide. Part of that guide says:

-'Setting' Allows individual config settings to be overridden.
For example, '-LogVerbosity Detailed' will set the engine to
display detailed log data. Semicolons can be used to delimit
non-scalar setting values.
For example, '-Capabilities "Capability1;Capability2"'


Where can I get a list of all the settings, like -LogVerbosity, along with their possible values?

Hi, thanks for posting.

This is the same list of settings as provided in the NCrunch configuration window, though they are specified using their IDs rather than the full names. To get the ID of any particular configuration setting, just set the setting in your NCrunch client, then have a look at the configuration file to see how it's specified.

For example, inside the NCrunch .ncrunchsolution config file you might see something like:


<SolutionConfiguration>
  <Settings>
    <InferProjectReferencesUsingAssemblyNames>True</InferProjectReferencesUsingAssemblyNames>
  </Settings>
</SolutionConfiguration>


The config setting above would be provided to the console tool using '-InferProjectReferencesUsingAssemblyNames true'.

Edited

I don't actually use the NCrunch client -- I'm a build engineer, and I only deal with the NCrunch console tool in our pipeline. Is there any way to get a list of the available settings without having to install the NCrunch client?
pbassett wrote:I don't actually use the NCrunch client -- I'm a build engineer, and I only deal with the NCrunch console tool in our pipeline. Is there any way to get a list of the available settings without having to install the NCrunch client?


Sorry. There is a list of all the settings in the documentation. However, this won't give you the IDs.

If you can share with me the settings you need, I'll fish the IDs out for you.

Edited

Post a reply

Log in to reply.