Skip to content

Option to support configure the Item likes property #12252

@WeihanLi

Description

@WeihanLi

For property, we could use -property:<name>=<value>, is there any plan to introduce an option for item? maybe something likes -item:<name>=<value>? Which could produce

-item:Using=System.Net =>

<ItemGroup>
  <Using Include="System.Net" />
</ItemGroup>

For attribute, maybe -item:<name>=<value>,@<attrName>=<attrValue>

-item:Using=System.Net.IPNetwork,@Alias=SysIPNetwork =>

<ItemGroup>
  <Using Include="System.Net.IPNetwork" Alias="SysIPNetwork" />
</ItemGroup>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions