Designer can't process code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • etklaus

    Designer can't process code

    Here's the story:
    My laptop suddenly stopped working, forcing me onto my desktop computer. Of
    course, I'd made a backup of my projects. After unzipping them and
    downloading Visual C# 2005 Express, I opened my project. Well... the designer
    insists that I've modified code. I'm getting 64 build errors because it's
    missing references. How can this be?
    Even if I create a brand new windows form in that project, the designer
    tells me "The designer cannot process the code at line 32: this.AutoScaleM ode
    = System.Windows. Forms.AutoScale Mode.Font; The code within the method
    'InitializeComp onent' is generated by the designer and should not be manually
    modified. Please remove any changes and try opening the designer again."

    One of the build errors is "
    The type or namespace name 'ApplicationSet tingsBase' does not exist in the
    namespace 'System.Configu ration' (are you missing an assembly reference?)
    "

    What the heck is wrong?
Working...