I have 2 projects in the same solution as my Umbraco website BLL.dll and UI.dll (shortened names).
I have the following class in my BLL project that looks like this:
using System; using System.Collections.Generic; using System.Linq; using System.Web; using umbraco.cms.businesslogic.member; using umbraco.BusinessLogic; using umbraco.cms.businesslogic; using umbraco.cms.businesslogic.web;
namespace MailChimp4Umbraco.Userinterface { public class UmbracoMembershipIntegration : ApplicationBase { public UmbracoMembershipIntegration() { Member.BeforeSave += new Member.SaveEventHandler(Member_BeforeSave); Member.AfterSave += new Member.SaveEventHandler(Member_AfterSave); }
public void Member_BeforeSave(Member sender, umbraco.cms.businesslogic.SaveEventArgs e) { throw new Exception("How can I debug this"); }
public void Member_AfterSave(Member sender, umbraco.cms.businesslogic.SaveEventArgs e) { var test = 1; } } }
I have referenced the UI project in the website (as well as tried as post build event to copy the dlls) and put a breakpoints in the above constructor, then attached to the w3wp.exe process from VS to debug.
My breakpoint never gets hit, the exception never gets thrown. Can anyone help please?
Umbraco membership events not working
I have 2 projects in the same solution as my Umbraco website BLL.dll and UI.dll (shortened names).
I have the following class in my BLL project that looks like this:
I have referenced the UI project in the website (as well as tried as post build event to copy the dlls) and put a breakpoints in the above constructor, then attached to the w3wp.exe process from VS to debug.
My breakpoint never gets hit, the exception never gets thrown. Can anyone help please?
Still looking for a fix for this if anyone knows please help.
Bump. I have this issue too. 4.7.1.
Looks like it was raise in 4.5.x, then closed. (http://umbraco.codeplex.com/workitem/28514)
Thanks for any help with this.
Mark
Did you guys ever find a fix for this (or get it working?)
Thanks, Trevor
I have the same issue, please contact me [email protected] if you know the solution.
is working on a reply...