At the moment I’m trialling Sketchflow for Expression Blend. There’s an annoying bug that happens when you use the “Duplicate” action on a node:
If you use this action, sooner or later you’ll end up with this error:
‘InitializeComponent’ is not a member of ‘xxxxxxxxxx.xxxxxxxxxxxxxx’
This can be very frustrating if you are trying to advocate Sketchflow as a prototyping tool for non wpf savvy analysts.
The simplest workaround is to delete the code-behind file. To do this, go to the project pane and choose “Delete”.
At first I tried hard to ensure that the xaml filenames and classnames were correct. This just causes a cascading comedy of errors.
Upgrading Sketchflow prototype projects to real code is a pipe-dream at the moment.
If you know of a better way of handling this situation (and fixing the errors) more quickly, feel free to comment. I just want get on with the prototyping.