Search code examples
visual-studiodesigner

Visual Studio 2005: Please stop opening my CS files in "Design Mode"!


I think it's associating my Web Service's CS files with the related ASMX files. But whatever's happening, I can't double-click to open the CS files - I have to "view Code" or it opens in the designer.

Anyone know how to turn off this automatic behavior? I just want to edit the code!


Solution

  • Try right-clicking, select "Open with...", mark "CSharp Editor" and select "Set as Default".

    That works for avoiding the WinForms Designer.