I am having an issue with my Visual Studio 2010 IntelliSense, which stopped working recently.
It had worked earlier.
I had gone through the following steps
Visual Studio C# IntelliSense not automatically displaying
but that too not worked on my system.
Here I am attaching the screenshot for your reference,
Thanking in advance
This is a known feature/bug (feature with a bug?), which can be resolved by restarting Visual Studio.
It appears, that this behaviour is shown by Visual Studio if you press Ctrl + Alt + Space.
I'd recommend resetting your setting like Dai suggestested, if a VS-retart does not work.
Additional information:
VS2010 Bug: Intellisense shows empty text field and stops working correctly
You can try resetting the visual studio by using visual studio command prompt. take visual studio command prompt and enter this command devenv /resetsettings
Related
I have problem with my Visual studio 2013. When I'm trying to create even a simple console application,VS hangs and after a while the message 'Visual studio is busy: Microsoft Visual studio is waiting for internal operation to complete.' shows up.
I have reinstalled Visual Studio but without any luck. I've used ProcMon to check devenv and all the paths it shows, have to do with Android Studio.
I 'solved' the problem by accident. I disabled Source Control and for some reason, VS started working again. I know it's not an ideal solution but works just fine when you need VS urgently.
Don't know if Visual Studio is one of those programs. Someone correct me if I'm wrong, but I believe even after uninstalling, Visual Studio keeps some files in the registry from your previous installation and the AppData folder. You might want to clear those.
Close Visual Studio (if you haven’t already).
Open the registry editor (regedit.exe)
Delete the
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio{version}
Delete the
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio{version}_Config
Delete the %USERNAME%\AppData\Local\Microsoft\VisualStudio{version}
directory.
Use {version}=10.0 for Visual Studio 2010
Use {version}=11.0 for Visual Studio 2012
Use {version}=12.0 for Visual Studio 2013
Hope this helps
I've lost all the color formatting in the source view in Visual Studio and can't get it back. I tried to import a new scheme but nothing helps.
Anyone?
Had this a while ago, these steps fixed it for me.
close all running instances of Visual Studio
open a "Run" window and type in devenv /resetuserdata
edit
perhaps this might work for you, its for 2012 but it might work for 2013
Here is a simple solution. Go to the directory where devenv is (for 2012 RC), and type devenv.exe /setup. It will fix your problem.
devenv.exe is usually in something like C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE.
Edit: It has been suggested that you do this from the Visual Studio command prompt (Start>Microsoft Visual Studio>Tools>Visual Studio Command Prompt), and/or make sure your command prompt has administrator permissions.
How can I get user type C# syntax highlighting working again in VS 2012 RC?
This did the trick!
devnev.exe /ResetSettings
More details here
Lost formatting in Visual Studio
I'm trying to launch Visual Studio 2010 from my desktop and I just get this error box popping up saying "Unknown Error"...
Anyone have an idea why this might happen?
I just fixed it, I uninstalled and reinstalled my version of the .NET Framework (v4.0). And then when I again tried to launch Visual studio it started up without any issue.
Here's some things you can check:
Temporary de-activate all Addins
Temporary disable all Extensions
Check the Event Log for any errors
Reset your settings
Start with /ResetSkipPkgs
Based on your comment below, if you can't find the DevEnv.exe when you have opened a VIsual Studio Command prompt, I would suggest you to re-install Visual Studio as it indicates your installation (paths) are in a bad state.
And here are some other things you migh want to check:
VS 2010 Crashes on Startup with "Unknown Error"
Visual Studio 2010 quit working...now gives me an "unknown error" dialogue when launched
Visual Studio 2010 Startup Errors
Visual Studio 2010 crashes on startup after installing SP1
Open Visual Studio Command Prompt with Administrator permission and type the following,
devenv /ResetSkipPkgs
the Solution of this problem ist very simple.
Install VS 2010 on a other machine and export HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0 to a file. Copy the file to your target machine and rename the path above to ".old", then double click your exported reg-file and wait a time....
After this my Visual Studio was starting correctly.
The other solution, that people post wont work in my case.
I hope this will help some body.
Enjoy
Sven
I had the same problem.. Instead of completely uninstalling .net framework, I just repaired the .net framework from the repair/uninstall option available in Control Panel of my Windows 7 Ultimate pc. Finally I got another error that, Visual Studio could not create AppData folder in my system. Then, I right click the Visual Studio icon and selected Run as Administrator. This worked for me!! Now, Visual Studio 2010 is working on my pc!! Try this out if you want..
I have been using Visual Studio for a while and found that when I open visual studio and open the project all the files that were open last time remain open.
This causes my Visual Studio to freeze or crash on startup.
I am using a lot of plugins in my installation and wonder if there is a way to prevent this from happening.
Have you tried resetting user settings? It did help me:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData
Run: Devenv /ResetSkipPkgs
http://msdn.microsoft.com/en-us/library/ms241276%28VS.80%29.aspx
or
You are probably looking for the /SafeMode command line switch:
devenv.exe /SafeMode
This will start Visual Studio with all add-ins disabled.
You can change your Visual Studio 2010 start up settings.
Tools --> Options --> Startup --> At startup --> Show empty environment --> Save
Visual Studio has a plugins limit. Use only plugins that best for you. There is a list for best Visual Studio 2010 plugins for developers.
Visual Studio 2010 - recommended extensions
devenv.exe /ResetSettings
or
devenv.exe /ResetSetting
Worked fine for me
I had the same issue with Community 2015 version. I solved it with Vidas Vasiliauskas suggestion, which was to erase user settings.
The thing is that I previously had enterprise 2015 version, in which I was logged in with my Microsoft account. When trying to open community version, it tried to do so with that same account, which I believe was the cause of the issue.
Therefore, I would suggest to those with the same problem to run the following command at Command Line Prompt:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData
In my case, VS 2013 Professional was hanging on startup because the license was no longer valid.
Last item in the log file:
<entry>
<record>367</record>
<time>2015/07/13 20:11:05.051</time>
<type>Information</type>
<source>UserConnection</source>
<description>myemailaddrs#gmail.com signed in for IDE user</description>
</entry>
And on the msdn.microsoft.com subscription page: "Your subscription is no longer active, contact your administrator."
I had to get an updated subscription from my employer.
When it hangs on the splash screen:
It could be that an anti-virus solution is blocking Visual Studio.
Kaspersky Internet Security 16.0.1.445 makes Visual Studio 2015 hang on the splash screen. The older version 16.0.0.614 works fine.
Clear the tag's elements in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
Also do the same with C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
The tag should just be <runtime/>
If your Visual Studio 2019 is stuck due to a faulty extensions, here is a way to get it back to normal.
First, start Visual Studio in safe mode (devenv.exe /SafeMode) and uninstall the troublemaker.
Hereafter, if Visual Studio 2019 is still unresponsive, you need to do the following:
Browse to %LOCALAPPDATA% and go to Microsoft -> VisualStudio -> 16.0_bb6da863 (or whatever version you have installed)
Delete the following folders (all cache related):
ComponentModelCache
ImageLibrary
MFECacheBackup
Extensions\*.cache
For reference:
Hope it helps you and safe a VS repair/reinstall.
Happy coding :-)
I was having this issue when using the Git source-control plugin.
I ran devenv.exe /SafeMode
And then in Options -> Source Control -> Plug-in Selection made sure "None" or "Visual Studio Team Foundation Server" was selected. After that, VS started normally.
Check Task Manager. I had a Setup.exe running (not sure what it was installing), but once I killed it, VS unfroze.
I have got recently VS2017 stucked on start up . so I did this and worked for me :
1 - start cmd as admin : run the following:
cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE"
devenv.exe /SafeMode
2- once VS is started , go to
Tools => Extentions and Updates :
then uninstall all plug-ins that installed recently ( notice the installed date ) and unnecessary ones)
This helped me: I deleted all SDK, JDK & JRE folders that had been rooted in VS settings before. After that I used devenv.exe /ResetUserData and devenv.exe /ResetSettings.
Worked for me on Visual Studio 2015.
This is becuase of rendering IDE UI try this hope it will resolve
1- Open "Visual Studio"
2- Select "Options" from the top menu
3- Navigate to "Environment => General"
4- Unchecked "Optimize rendering for screens with different pixel densities"
5- Restart visual studio
I installed the ReSharper evaluation version and uninstalled it. Afterwards Visual Studio's Intellisense stopped working. I have restarted computer but I still have this problem.
Can anyone please help me here?
I am using Visual Studio 2005. Thanks.
Try opening Visual Studio Command Prompt and entering:
devenv.exe /ResetSettings
Try going to Tools > Options > Text Editor > C# and checking all of the options under Statement completion. I think Resharper disables these upon installation.
Sometimes deleting the ncb file helps. Go to your solution directory and find the sln file, there will also be a file with the same name and the extension ncb. Make sure Visual Studio is closed (at least don't have that project open) and then delete that file. Don't worry Visual Studio will rebuild it for you.
The devenv.exe /ResetSettings was the only thing that worked for me. The full path in command prompt is as follows (for VS 2008)
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv.exe /ResetSettings
took me a while to find so I thought I'd post this to help
devenv /ResetSettings worked after uninstalling ReSharper. I did not have to do a repair. I did verify that the settings were checked under Text Editor > C#, but ResetSettings was the only thing that worked.
You could try to reset your Visual Studio setting by
End Process devenv.exe from Tast Manager if it is running .(It can close your Browser and Visual Studio)
Run devenv /resetuserdata from Start -> Run
Hope It can help you.
Disable updating intelliSense like in this article:
http://amastaneh.blogspot.com/2007/11/disable-updating-intellisense.html
Eventhough for old version seems to work for me.
I would try a "repair" on the installation first. Control Panel, Add/Remove Programs, select Microsoft Visual Studio 2005, click "Change/Remove". It will load up the install dialog and give you the option to do a "repair".
YMMV, but at least it should reset a lot of the VS resources to their "fresh" state.