This morning, when I tried to add a new ASPX page to my project, Visual Studio decided that I no longer needed any .CS files associated with it. Trying to add a web control produced same results: .ascx file with no .cs. I've got two questions so far:
- Considering that no changes have been made to the system over the weekend, what could be the cause of this?
- Is re-installing VS the only option right now?
I'm running Visual Studio 2005 SP1 on Windows XP SP3.
Thanks!
EDIT: Thank you all. The checkbox DID get unchecked at some point and I simply did not see it. I will blame this one on Monday...
-
That can be considered a feature by the ASP.NET MVC folks.
le dorfier : Right! So what's the problem again? -
Usually, there is a check box asking if you want to have the code in a separate file. Did this box get unchecked at some point (and so it's now the default)? It's easy to get in the habit of clicking through these common dialogs and not noticing that it may have changed.
-
I don't mean to be rude by asking an obvious question, but have you made sure that the "place code in a separate file" check box is checked when you create your page?
-
there is a check box you may have accidentaly un-checked: Place code in separate file
0 comments:
Post a Comment