Quantcast
Viewing all articles
Browse latest Browse all 2206

Closed Issue: RegisterChanges() fails on XP [12208]

In V1 mode, the RegisterChanges fails saying the following:

```
Microsoft.Win32.TaskScheduler.NotV1SupportedException: Folder other than the root (\) was requested on a system only supporting Task Scheduler 1.0.
à Microsoft.Win32.TaskScheduler.TaskService.GetFolder(String folderName)
à Microsoft.Win32.TaskScheduler.Task.RegisterChanges()

```

The task was created using the RootFolder property.

As a workaround I had to write this:
```
task.Folder.RegisterTaskDefinition(task.Name, task.Definition);

```

However a fix would be better :)

Viewing all articles
Browse latest Browse all 2206

Trending Articles