In the @Page directive of my aspx file, the Inherits section is causing an error. Assuming that the folder where my app resides is called "Application" and the codebehind module I'm referring to in my aspx page is called "MyModule", the directive should read:
The problem is, my codebehind module does not contain a Namespace referring to "Application". So the page won't compile unless the directive actually reads:
BUT, every time I save the aspx file after modifying the codebehind module, Visual Studio automatically changes the directive to read:
I tried adding the namespace to the codebehind module, but then Visual Studio changed the line to:
I hope I am explaining this clearly - what am I doing wrong?
Thanks in advance!