msbuild create itemgroup from property group
问题 I want to pass a semi-colon separated list of strings. Each string represents a file name. <PropertyGroup> <FileNames>Newtonsoft.Json;Reactive</FileNames> <PathToOutput>C:/</PathToOutput> </PropertyGroup> Now I want to create an item group which should give me all the files in particular folder excluding list of Filename, something like: <ItemGroup> <ReleaseFiles Include="$(PathToOutput)\**\*.*" Exclude="%(identity)-> identity.contains(%FileNames)"/> </ItemGroup> How do I iterate through