Error:"Currently selected property has a wrong type"
I was working on a WF project and all of the sudden I started receiving the following error message when using the WF Designer in Beta 2.2:
''Currently selected property has a wrong type 'WF.wfEventArgs instead of 'WF.wfEventArgs'
Here's the fun thing. The types are the EXACT SAME TYPE. It is expecting what I provide it and it fails.
Has anyone experienced this?
Thanks.
[414 byte] By [
PeterY] at [2007-12-21]
I did upgrade from 2.0 to 2.2 and this was/is my first suspicion. I did follow the instructions for removing the 2.0 beta, but I wonder now if something was left.
It is good to know that my suspicions may be confirmed. Maybe I can convince my boss to let me take a day to wipe and re-build my machine.
One thing to try is to delete all of the Workflow Assembly references from your project and then re-add them. Please give this a try and see if this fixes it.
Steve Danielson [Microsoft]
This posting is provided "AS IS" with no warranties, and confers no rights.
I always get this message box... Just close it and retry, usually works for me...
100% a bug...
Never compare 2 types using == operator... Instead use Equals which works just fine...