The kwcsprojparser command creates a build specification for Visual Studio C# projects and solutions. It can also be used to generate build settings for the C# portion of a mixed-language integration project.
The build specification is used as input for an integration build analysis with kwbuildproject. The build specification can also be used with the desktop command-line tool, kwcheck.
Usage
To generate a build specification:
kwcsprojparser <input-file> --config <config-name> [--output <output-file>]
where
- <input-file> is the project or solution file to process
- <config-name> is the name of the build configuration you want to use
- <output-file> allows you to specify the name and location of the build specification file. By default, it is named <input-file>.out and is saved in the current working directory.
For example:
kwcsprojparser nant.vsnet.csproj --config "Debug|AnyCPU"
To list valid build configurations:
kwcsprojparser <input-file> --list-configs
For example:
kwcsprojparser nant.vsnet.csproj --list-configs
Options
Name |
Short name |
Description |
--config <config-name> |
-c |
specify build configuration to use when generating the build specification |
--help |
-h |
display this help and exit |
--list-configs |
-lc |
display a list of valid build configurations |
--output <output-file> |
-o |
specify the name and location of the build specification file. By default, it is named <input-file>.out and is saved in the current working directory. The suffix .out is appended by default. |
--property <name>=<value>[;<name>=<value>...] |
-p |
set or override the project-level property |
--version |
-v |
display version and exit |