This project has moved. For the latest updates, please go here.

Bug Win10 Incorrect XML Value

Topics: Errors
Mar 20 at 4:13 PM
I'm trying to get a task description in the scheduler (RegistrationInfo.Description)

That's what I get.
Mar 22 at 11:21 PM
The exception is general enough that I really can't tell the cause. Will you post your code that is causing the exception, including the string you are assigning to the property?
Mar 23 at 4:56 PM
Edited Mar 23 at 5:02 PM
TaskService ts = new TaskService();
Task task = ts.GetTask(Path);
TaskDefinition taskDefinition = task.Definition;
var output = taskDefinition.RegistrationInfo.Description;
Win10 v1607, Task Scheduler 2.5.22, System task. Path ("Microsoft\Windows\Customer Experience Improvement Program\Consolidator")
Mar 24 at 5:00 PM
Will you capture the detail of the COMException and post it? That field contains a resource reference, but retrieving the Description should not cause an error. I'm able to retrieve it on my system (also Win10-1607) without error.
May 17 at 1:32 PM
This should be fixed with version 2.5.23.
Marked as answer by dahall on 5/17/2017 at 6:32 AM