Add multi folderpath support, add --add to each output component, and add a logger by skylarnam · Pull Request #8 · microsoft/VSConfigFinder (original) (raw)
For folder structures like this:
a
- b
- 1
- c
- 2
- 3
- d
Right now you cannot pass in b and c at the same time without including d. To address this, the change adds a multi folderpath support so we can now use the tool like this:
VSConfigFinder.exe --folderpath b c
Also, since the VS Installer doesn't officially support using a single --add for all the components, the change also adds --add to each output components if --createFile option is chosen.
Added a simple logger for testability, and updated the Readme accordingly.
- Verified that the tool with
CreateFile == trueworks and outputs the file as expected. Overwrites the existing one if exists. - Verified that the tool with
CreateFile == falseworks and outputs the arguments as expected. - Verified that the single and multi folders all get parsed correctly as expected.
- Verified that both the unnamed vsconfig (e.g.
.vsconfig) and named vsconfig (e.g.something.vsconfig) both get picked up and read correctly