0

I read that there is no problem to use Visual Studio 2012 for projects written of Visual Studio 2010. I open my project in vs 2012 and start it, everything was working. I can make changes in the existing classes and pages, no problems occur. After that I decide to add new class and here nothing was working correctly:

  1. References to the other classes, if I add DataSet and add using System.Data it is not shown like special word(in green)
  2. No errors no warning about new classes shown by the compiler. If I write 12312312 and build no error is shown.

Errors are shown in the browser, but I strongly prefer to have a working compiler.

Do you know what is the problem and how to fix it ?

sepp2k
  • 363,768
  • 54
  • 674
  • 675
mybirthname
  • 17,949
  • 3
  • 31
  • 55
  • @Ethan I tried clean and rebuild nothing happen and build was succeed even with the errors in the new class. I will try to do every step in your answer. – mybirthname Sep 17 '14 at 12:34

1 Answers1

0

Cleaning and Rebuilding is the way to start.

For more detailed info, take a look at this post:

Visual Studio 2012 - Intellisense sometimes disappearing / broken

For the Compiler not showing errors, give this a shot:

Delete the files in this folder:

%AppData%\Roaming\Microsoft\VisualStudio\11.0\ReflectedSchemas

Pulled from Intellisense and error highlighting not working by default in VS2012

Community
  • 1
  • 1
Ethan Turk
  • 437
  • 4
  • 8