Designer can't process code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.AutoScaleMode
= System.Windows.Forms.AutoScaleMode.Font; The code within the method
'InitializeComponent' 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 'ApplicationSettingsBase' does not exist in the
namespace 'System.Configuration' (are you missing an assembly reference?)
"

What the heck is wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top