This project has moved and is read-only. For the latest updates, please go here.

Bug Win10 Incorrect XML Value

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

That's what I get.
Mar 23, 2017 at 12:21 AM
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, 2017 at 5:56 PM
Edited Mar 23, 2017 at 6: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, 2017 at 6: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, 2017 at 2:32 PM
This should be fixed with version 2.5.23.
Marked as answer by dahall on 5/17/2017 at 6:32 AM