Trouble with Event Publish Guidance

Topics: CAB & Smart Client Software Factory
Nov 14, 2007 at 6:13 PM
I've been trying to publish an event using the guidance. I right click on a presenter and select Smart Client Factory/Add Event Publication. The receipe starts to run and halts with this error:

Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe AddEventPublicationCS. Error was: Action SetMethodAsVirtual failed to execute:

Some garbled code is left in the presenter.

Anyone have any clues?
Nov 14, 2007 at 8:43 PM
This is the garbled code left where the event should be. I've tried to repair the SCSF, re-install the Guidance extensions and remove and reinstall the Guidance Tool kit.

p//TODO: Add your code hererotected void OnNodeChanged() {


Does anyone know where the receipe is kept? Perhaps it's just a garbled file.
Nov 19, 2007 at 3:51 PM

Here’s a thread that deals with the same error but regarding the CreateBusinessModule recipe: Recipe Framework Error . It provides two workarounds, if they don’t work for your particular problem, please, send more details about the error you are getting.

Please let me know if this helps.

Ignacio Baumann Fonay
Sep 22, 2008 at 5:20 PM
Quote from

"After turning ON the option “Place open brace on new line for methods” the recipe is working quite properly."

Worked very well for me