This happens to me all the time when I'm working with Visual Web Parts in Visual Studio 2012, and I finally found a good solution here to fix it, which I summarize briefly below: Problem You're building a Visual Web Part in Visual Studio 2012, and all of a sudden it fails to Build, with this … Continue reading The dreaded “The name ‘InitializeControl’ does not exist in this context” error when working with Visual Web Parts in Visual Studio 2012