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
  • 96,701
  • 20
  • 235
  • 310
Bilgehan
  • 969
  • 1
  • 10
  • 27

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
  • 96,701
  • 20
  • 235
  • 310