Project.RemoveItemGroupsWithMatchingCondition(String) Method

Definition

Removes all <ItemGroup>'s from the main project file that have a specific "Condition". This will not remove any item groups from imported project files.

C#
public void RemoveItemGroupsWithMatchingCondition(string matchCondition);

Parameters

matchCondition
String

Applies to

Produkt Wersje
MSBuild 17
MSBuild (.NET Core) 17