Place files in root of output
See original GitHub issueI’m creating a template where I want to include a .gitlab-ci.yml
and README.md
, which needs to be in the root of the output. As in, if it’s a solution, I’d want them in the same folder as the sln
, but if it’s a project, I’d want it in the same folder as the csproj
.
Right now, I have to make two separate templates, one as a solution, containing the project, and one with the project. Even then when using the solution template with Visual Studio, I have to check Place solution in same directory as project
for the files in my solution template to be placed besides the solution. I feel like I should be able to achieve what I want with only one template though.
Would be nice with some kind of option to always place specific files in the “root” of the output. Or get to know what the user selects during the Visual Studio solution creation process, so I can do a postAction where I move the files?
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (7 by maintainers)
Top GitHub Comments
@h3rmanj since this issue is closed and the feature relates to the Visual Studio host, we can continue this in the linked issue:
https://github.com/sayedihashimi/template-sample/issues/31
No, I do not use that.