Editing problems with VS2012

Posted on 2014-01-25
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
  • 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.
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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 29

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 500 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 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Ctime to date time in textfile? 7 34
VB.NET Textbox input validation 4 41
how to just get time from a date 6 34 Configuration, settings file location? 8 31
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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.…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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