/// <summary> /// Adds and intem inside a <ItemGroup/> node in the following form: /// <c><{itemType} Include="{itemPath}" [PackagePath="{packagePath}" Pack="{pack}" Version="{version}"] /></c> /// </summary> public ProjectFileBuilder WithItem( string itemType, string itemPath, string packagePath = null, string pack = null, string version = null) { ItemGroupEntries.Add(new ItemEntry(itemType, itemPath, packagePath, pack, version)); return(this); }
/// <summary> /// Adds and intem inside a <ItemGroup/> node in the following form: /// <c><{itemType} Include="{itemPath}" [PackagePath="{packagePath}"] /></c> /// </summary> public ProjectFileBuilder WithItem(string itemType, string itemPath, string packagePath) { ItemGroupEntries.Add(new ItemEntry(itemType, itemPath, packagePath)); return(this); }