Questions tagged [itaskitem]

8 questions
4
votes
2 answers

MSBuild ITaskItem RecursiveDir metadata disappears

I have a custom MSBuild task, which processes a set of files and returns a modified subset of this. Basically, I just create a new ITaskItem array out of the input, skipping some items. However, the RecursiveDir metadata disappears when this result…
Sander
  • 25,685
  • 3
  • 53
  • 85
3
votes
2 answers

How to pass data to an ITaskItem property of an MSBuild task?

i have a custom Task which i use in MSBuild. Works great. Previously, i had some properties which accepted some string data. It was suggested I should change them to ITaskItem's. This way, if i have spaces, i shouldn't have a problem. Previous…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
3
votes
1 answer

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…
justin.m.chase
  • 13,061
  • 8
  • 52
  • 100
2
votes
1 answer

MSBuild ITaskItem array is out of date

I'm creating a custom ITask for MSBuild which uploads the output files of my build. I'm using a web deployment project to publish my app and hooking in to the AfterBuild target to do my custom work. If I add a file to my web application, the first…
Colin
  • 33
  • 5
0
votes
0 answers

In Appian, i have created a process model. In that approve, reject, and screening action is involved

In Appian, i have created a process model. In that approve, reject, and screening action is involved. I am taking decision for each action. If decision is true for any of the action i am finishing the process. Or else it will return back to main…
0
votes
1 answer

How to get TaskItem by inspetor.get the TaskItem which to send to others. not a TaskItem to myself

I want to make a Outlook Addin to make attachment file to ZIP file automatically. Now ,i have to get the TaskItem to make the task mail which i send to others is only have ZIP attachmens files. I have trid the folowing code to get TaskItems.but…
SuperDeve
  • 11
  • 3
0
votes
1 answer

msbuild ITaskItem output

I'm trying to use MSBuild.ExtensionPack.Web.Iis7AppPool task with GetInfo task action. This task's output parameter is SiteInfo property, which its type is ITaskItem. This is a propery, not a collection. How can I access the SiteInfo metadata? I can…
sagie
  • 2,998
  • 3
  • 22
  • 31
0
votes
1 answer

MSBuild get %(RecursiveDir) directive from custom task parameter

I'm developing a custom MSBuild task by inheriting from the base Task class. My task calls the Copy task declared in Microsoft.Build.Tasks.dll setting the DestinationFolder property in the process. My custom task has a property called…
Matthew Dresser
  • 11,273
  • 11
  • 76
  • 120