Solved

Editing problems with VS2012

Posted on 2014-01-25
11
286 Views
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.
0
Comment
Question by:steve_webber
[X]
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
11 Comments
 
LVL 40
ID: 39809037
Have you tried repairing Visual Studio from Programs in the Control Panel?
0
 
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.
0
 

Author Comment

by:steve_webber
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.
0
More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

 
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.
0
 

Author Comment

by:steve_webber
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.
0
 
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.
0
 
LVL 30

Expert Comment

by:serialband
ID: 39837856
@JamesBurger

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

Author Comment

by:steve_webber
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.
0
 
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.
0
 

Author Comment

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

Accepted Solution

by:
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 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.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

717 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