开发者

Create project folder Buildengine

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜