I don't understand your comment, but here's an example of what I mean. if the ids is: "a|b|c" and I want to set targetFramework for 'b' to null, I will need to set the targetFrameworks parameter to "net45||net40". If you use the RemoveEmptyEntries, it remove the second empty entry, resulting in null targetFramework for c instead of b.