I can't figure out how to make changes to the .cs stick and build/re-build successfully.
for example - I add a new button(lets say to the root.Master.aspx) and create an 'OnClick" event on the code file (Root.Master.cs) now I'm building/re-building the site (build -> Build website) and the build fails on trying to build the root.master page
the error massage says that there isn't a definition for the event... so it has completely ignored the changes to the .cs file I've triple checked everything and don't know what to do...
I can create events using <script> on the .aspx and it works without re-building but I really want to work with the .cs files to and do it properly
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls;