Unexpected error with EventArgs namespace.

  • Thread starter Thread starter MyCatAlex
  • Start date Start date
M

MyCatAlex

Guest
I have two C# applications A & B. A>>B. A is an old one which I debugged years ago and it's been my workhorse. B is much smaller but still need some improvement, so I have been stealing code blocks from A to improve B. Today I worked for about 6 hours with B and then all of a sudden it started giving me dozens of compile errors. One o them is actually known on the web.

Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'EventArgs' could not be found (are you missing a using directive or an assembly reference?) SQLServerSampleCodes C:\VCSharp_Projects\SQLServerSampleCodes\SQLServerSampleCodes\SQLServerSampleCodes\SQLServerSampleCodes\Form1.cs 184 Active

I restarted the computer to no avail. There are other similar errors.

Application A still compiles with no problems. EventArgs are there in abundance.Console now is underlined red as well as String.Empty, Exception, etc.

What can be done?

Thanks, - MyCatAlex

Continue reading...
 
Back
Top