开发者

Create project folder Buildengine

开发者 https://www.devze.com 2023-02-12 01:50 出处:网络
When I am creating one project file by code using the BuidEngine, Does anybody know.. how to add project folders?

When I am creating one project file by code using the BuidEngine, Does anybody know..

  1. how to add project folders?
  2. how to add one builditem to the crea开发者_StackOverflow社区ted 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


What do you mean by project folder? Won't specifying filename like Folder\File1 do the trick?

0

精彩评论

暂无评论...
验证码 换一张
取 消