I have recently changed a delegate command's type from object to Guid. Now when my applications starts up this block of code errors out:
The excetion is this: Object reference not set to an instance of an object.
My problem is that I have no idea where in my code this problem is occurring. The call stack shows only two lines the line for the call to CanExecute and [External Code].
I have reviewed all my xaml to make sure that all instances of a command reference to the Guid typed DelegateCommand also have a CommandParameter binding to a non null Guid.
Can anybody suggest anything that will help root cause this issue? If anyone can explain when this code is called and what would call it so I can add some breakpoints it would help.