Generating Code in an MSBuild task
I am creating an MSBuild task that will generate one or more files, I have a Task with an [output] property that is of type ITaskItem[]. My question is, do I need to implement that interface myself or is there a class I can use already?

I want them to be Compile task items that get added to the list of files to compile.
Generating Code in an MSBuild task
===

I am creating an MSBuild task that will generate one or more files, I have a Task with an [output] property that is of type ITaskItem[]. My question is, do I need to implement that interface myself or is there a class I can use already?

I want them to be Compile task items that get added to the list of files to compile.