I have a bunch of ascx controls which I am loading at runtime. Below is an example.
controls_SubmissionsList submissionsList = (controls_SubmissionsList)LoadControl("controls/submissionslist.ascx");
submissionsList.InquiryId = Convert.ToInt32(e.PageView.ID.Remove(0, 11));
Each time I edit anything in the App_Code directory and try and run it I get the error:
Error 1 The type or namespace name 'controls_SubmissionsList' could not be found (are you missing a using directive or an assembly reference?) c:\SCID\SCID.Web\Default.aspx.cs 40 13 c:\SCID\SCID.Web\
To fix this I need to clean and rebuild the entire solution. This is a really time consuming and annoying, really slowing my workflow. Does anyone have any ideas on how to solve this???
Plz remember to click "Mark as Answer" if this helped you.