Create project folder Buildengine
-
15-11-2019 - |
Question
When I am creating one project file by code using the BuidEngine, Does anybody know..
- how to add project folders?
- how to add one builditem to the created folder?
.
var project = new Project();
project.Load(ProjectFile.FullName, ProjectLoadSettings.IgnoreMissingImports);
//Create project folder
var buildItem = project.AddNewItem(itemName, fileName);
//add file to folder
Thanks in advance
Solution
What do you mean by project folder? Won't specifying filename
like Folder\File1
do the trick?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow