Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Where to get a list of all Console Tool Settings
pbassett
#1 Posted : Wednesday, January 20, 2021 6:32:10 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/17/2020(UTC)
Posts: 6

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

Quote:
-'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?

Remco
#2 Posted : Thursday, January 21, 2021 12:03:18 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,280

Thanks: 814 times
Was thanked: 1088 time(s) in 1032 post(s)
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:

Code:

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


The config setting above would be provided to the console tool using '-InferProjectReferencesUsingAssemblyNames true'.
pbassett
#3 Posted : Thursday, January 21, 2021 4:31:33 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/17/2020(UTC)
Posts: 6

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?
Remco
#4 Posted : Thursday, January 21, 2021 4:35:44 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,280

Thanks: 814 times
Was thanked: 1088 time(s) in 1032 post(s)
pbassett;15260 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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.080 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download