Editing problems with VS2012

Posted on 2014-01-25
Medium Priority
Last Modified: 2014-02-10
My VS2012 (Update 4) IDE is having strange editing problems. It complains about strange problems that appear as if there were whitespace where there really isn't any. For example, if I had a variable called firstTime it might complain that stTime is not declared. Any siggestions? I just recently updated to Update 4, but this was happening before. Restarting VS2012 solves the problem for a while.
Question by:steve_webber
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
LVL 40
ID: 39809037
Have you tried repairing Visual Studio from Programs in the Control Panel?
LVL 40
ID: 39809040
Do you have any Add-In loaded in your Visual Studio environment. I have had my share of problems with add-ins that did not behave properly, even add-ins from the most reputable sources.

Author Comment

ID: 39821898
There is no add-in loaded (at least I didn't load one). I have rebuilt my machine (new installation of Windows 7), reinstalled VS2012 twice. I have run all Updates. The problem still happens. I am beginning to think I have a hardware problem (memory?) that only sows up with VS2012 since I see no other problems with my computer. VS2010 works fine.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 40
ID: 39822711
Although it is said that they can be installed together, I have seen editor problems in almost every classroom where 2010 and 2012 were installed on the same computer. I had it also on 2 of my own computers, so I uninstalled 2010 before installing 2012 on the third one. No problem with that one.

This never happened with previous versions of Visual Studio (I have installed them all since 2002), but seems to be a negative factor with 2012. The fact that they switched to WPF for the 2010 interfave might be a cause here.

Author Comment

ID: 39837013
At present, I need both versions, so uninstalling VS2010 is not optimal. Eventually, I can convert my VS2010 websites and software to VS2012/VS2013, but this requires a lot of testing after I'm done and I don't have the time for that right now.
LVL 40
ID: 39837209
Then expect to have annoying little problems in the editor.

I solved that situation when I was on Windows XP by installing Virtual PC, and on Windows 7 by acquiring the Windows XP emulator that is available unless you are limited to the home version. I ran VS 2010 in the virtual machine and VS 2012 in the main operating system.

Unfortunately, that feature has been removed from Windows 8.
LVL 30

Expert Comment

ID: 39837856

You can use the free Oracle VirtualBox or buy VMWare Workstation and run a Virtual Machine.

Author Comment

ID: 39845889
I'd rather have software that works rather than use workarounds. I'll migrate everything to VS2012, delete VS2010, and see if that fixes my problems.
LVL 40
ID: 39845906
You need to delete VS2010 before you install 2012. In my experience, installing 2012 and then uninstalling 2010 leaves you with editing problems in 2012.

Author Comment

ID: 39846287
Since I already have both installed are you saying I need to uninstall them both and then install only VS2012?
LVL 40

Accepted Solution

Jacques Bourgeois (James Burger) earned 2000 total points
ID: 39846546
I cannot say exactly. All I can tell you is that on every computer I worked on where both were installed, there where problems with the editor. Same thing occured when 2013 was installed along a 2010 installation.

I give training at 2 different places, with different installations (one in French under Windows XP and the other in English under Windows 7) and we had the problem at both places. Since we rebuild the computers from an image for each training session, we simply stopped using the images where both were installed, and created new images where 2010 was running under a Virtual machine. That solved the problem.

On one of my own systems, I tried uninstalling 2010, but it did not solve the problems with 2012. So I uninstalled and reinstalled 2012, the editor still had hiccups. On a second computer, I uninstalled 2012 before 2010, same thing.

I later learned that 2010 does not uninstall completely through the Control Panel. Microsoft has a special uninstaller at http://archive.msdn.microsoft.com/vs2010uninstall. Maybe things would run smoother by using that one.

A lot of programmers are also complaining that they have problems uninstalling VS2012. The solution seems to be to run a Repair on it before trying to uninstall.

I am sorry that I cannot give you a more definitive answer.

Personally, I have moved my main development work to a new 64-bit computer where I installed 2013 alone. I stopped losing time on my other 2 machines, that I use only from time to time and where I have learned to live with the regular loss of IntelliSense and automatic indenting (simply saving the file usually restore it) and the very annoying erratic Undo that are my main problems.

Featured Post

Setting up LaraDock for Laravel

Learn how to set up LaraDock in a Laravel project - LaraDock gives us an easy way to run a Laravel application using Docker in a single command.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question