Actions are always empty in v1 mode (XP/2003) since the version 2.5.0. The last working version is 2.4.2.
Comments: ** Comment from web user: dahall **
I have created a new .NET 2.0 project with this code:
```
using (var ts = new TaskService(null, null, null, null, true))
{
foreach (var t in ts.AllTasks)
Console.WriteLine($"Task '{t.Name}' has {t.Definition.Actions.Count} actions.");
}
```
I have run this on Windows Server 2003 R2 with an account in the Domain Administrators group successfully with the 2.5.12 NuGet package. It correctly returns the expected number of actions. My only guess is that this has something to do with account permissions.
I have also tried this with the following with success:
```
foreach (var t in TaskService.Instance.AllTasks)
Console.WriteLine($"Task '{t.Name}' has {t.Definition.Actions.Count} actions.");
}
```
I really cannot figure out what would be causing your problem.