<ItemGroup> <DataToCopy Include="*.cs;*.aspx" /> </ItemGroup> <Copy SourceFiles="@(DataToCopy)" DestinationFolder="SourceCopiedFolder" />