0

Is it possible to develop custom task in tfs 2017 with c# code or only with powershell or nodejs.In xaml builds I can develop my custom activity with c#.But As I see in new tfs we can only develop scripts based plugins

public class MyCustomActivity : CodeActivity

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
Bilgehan
  • 1,135
  • 1
  • 14
  • 41

1 Answers1

0

You can write a custom activity in C# and package it in a PowerShell task. Just use PowerShell to call into the .NET assembly. Having some kind of static launcher class/method helps. You'd only need a very thin layer of PowerShell to extract the variables.

The old XAML activities are no longer supported though, you'd have to roll your own.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341