I've downloaded VS2015 for desktop for personal use. However, the IDE is incredibly slow, I have to wait for around 3 secs to type. I can't even rename a folder. When I have VS open, it's really slow to browse the internet as well.
I believe my system meets all the system requirements, based on this link.
My system is running on:
Win8 Pro (Dual Boot, installed in Macbook Pro)
8 GB of RAM
i5 #2.30GHz
300GB HDD
I've done the ff TS, based on my research but none of them works:
change the source control from TFS to none (since I dont use one anyway).
remove the git DLL files that has something to do with Git.
uncheck automatically adjust visual experience based on client performance.
uncheck auto updates.
downgrade to VS2012, issue still persist.
sent a feedback to Microsoft VS but I havent receive any.
Im not familiar with Resharper or NTVS yet so most likely I haven't installed them. Ive check in the control panel its not there.
Is there anything else I can do to rectify the issue?
Related
I am having trouble with Visual Studio, so I created as simple a program as I could. I created a Console Application that should display a single line to the console, then wait for the user to press a key. Instead, it gives me an error message.
I looked up the error message, and it is discussing an invalid handle. I am not sure what handle could possibly be invalid. The code is not in any way complex (and would have worked without issue any other day I've used Visual Studio). I have no clue what could have possibly caused this issue. I have not used Visual Studio in about two and a half weeks, but I still cannot fathom what could have happened to it in that time.
Here is a screen shot of the error message:
I've been to Microsoft Help and Support web sites (although I did not find any web site specifically named Help and Support, but I did find MSDN and the various forums). I looked up that HRESULT. In every article I read, it is discussing some Web application error. I have yet to come across a single article that mentions this occurring in a Console application, which is why I am so stymied. My next step is to try to repair my installation of the .NET Framework to see if that does anything (I found some oblique references saying that may help). If anyone else has any ideas, I am very interested!
Additionally, I tried this same code in Visual Studio 2013. It runs fine with that IDE. It only fails with Visual Studio 2017 (which I have had nothing but problems with since installing it, and uninstalling and reinstalling it). But, my copy of VS 2013 is the Community edition, and my job just purchased the Professional license for 2017 for me, so I would prefer to use that if I can ever get it to work. It is quite frustrating at this point. If I cannot find any other answer, my next resort is uninstalling it and reinstalling it again. This will make the fifth or sixth time that I have needed to do that, so I am hoping for another solution.
Edit:
Doing more research, I discovered it is only an issue when debugging code. If I run code through Visual Studio using the 'Start Without Debugging' option, it runs without issue. And since I am able to use VS 2013 on the same machine in debug mode without issue, that seems to rule out a Windows issue. The issue is probably confined to VS 2017.
I have plans to uninstall and reinstall VS 2017, but that is a lengthy process. So, before I do that, I am still looking for any other possible solutions.
UPDATE:
I found the crash report in Event Viewer. Here is the log:
Fault bucket 2243818120991372909, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: HelloWorldTest3.exe
P2: 1.0.0.0
P3: cc00d718
P4: StackHash_cad8
P5: 0.0.0.0
P6: 00000000
P7: c0000008
P8: PCH_E2_FROM_ntdll+0x0006A2DC
P9:
P10:
Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB1A6.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB427.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB486.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB494.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB4D3.tmp.txt
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_HelloWorldTest3._40a823464c1b7f1a36d57ccec8a525baac94eb58_92da583c_48deb87c
Analysis symbol:
Rechecking for solution: 0
Report Id: a085ff02-7bff-4a22-8d90-3f52094b2f8f
Report Status: 268435456
Hashed bucket: 334244e30a9d2a234f23a4b15a46766d
Cab Guid: 0
Does this tell anything about why it crashed? I also have a list of .dlls that were loaded at the time, but I cannot see anything in particular that would cause it to crash.
UPDATE #2:
I tried rebooting in Safe Mode. That fixed the issue. So, then I tried restarting services one-by-one to find the one that was causing the debugger to crash. But, Windows would not allow me to start any additional services in Safe Mode. So, I decided to try it in the opposite direction. I rebooted in normal mode and started turning off services one-by-one. In the end, I had every service Windows would allow me to turn off set to off, but the issue was still occurring. This is looking more and more like a Windows Update broke something.
UPDATE #3: We activated our Microsoft Technical Support Contract. The Support Engineer they assigned had me send memory dumps and results from running Procmon during the APPCRASH event. After I sent the information, I have yet to hear back and still no word on what could be going wrong. The engineer has been ignoring my emails for the past two days (Friday last week and Monday this week). So, I cannot even get an update on progress. This is an extremely frustrating issue to troubleshoot, as it does not really generate easily found error messages. I will keep updating as I learn more. Thanks to all who have tried to help.
UPDATE #4:
Microsoft reviewed the dump files and the Procmon results. They discovered the error is in the CLR (which is odd, because VS 2013 can debug without issue...) It is specifically in the following dll method:
win32u!NtUserMsgWaitForMultipleObjectsEx
Microsoft says the dump did not contain the details of that issue, and they would continue working on the issue. In the meantime, I uninstalled Trend Micro, restarted my computer, uninstalled VS 2017, restarted my computer, reinstalled VS 2017, restarted my computer, and the VS 2017 debugger still does not work. I also repaired every .NET Framework version in case any of them were corrupted, restarted again, just in case I hadn't rebooted enough, and still no luck. The only thing that has worked is booting the computer in safe mode.
I know it has been two years, but I forgot about this after the issue was solved a couple of weeks later. Microsoft eventually found the issue was software my company was using to monitor employee activity, Veriato.
Once they disabled that software, Visual Studio worked without issue. Veriato eventually released a patch for it. But, it was software I was not even aware was on my machine because it has a similar code pattern to a virus, so it hides. Microsoft even had trouble finding it. Eventually, our IT department recognized the name of one of the files and put it together that was what was causing the issue.
I'm working with VS to create Windows Forms Applications with C#.
I recently installed MS VS 2013 on a new computer. Before that, I used VS 2013 on three other computers and never had a problem.
But now I have problem when working with the Designer. Everytime I click on a control / change any property of a control / drag a control somewhere (any interaction with controls in the Designer) Visual Studio hangs for approximately a second before I can continue my work. When VS hangs, my cursor rapidly flashes...
I googled for two days already but couldn't find my exact problem.
However, I tried some solutions for general performance problems:
I turned off the hardware acceleration of VS
I started VS as an administrator
I reinstalled VS
But my problem still exists, so maybe someone of you can help me
System Info:
Windows 7 Professional 64-bit
HP ProBook 6560b
CPU: i5 2410M
GPU: AMD Radeon HD 6470M
4GB RAM
I hope I properly described my problem, if you need any further information let me know
EDIT: I have this problem with one particular project that I built with my old computer. It has three Forms with something around 100 controls in total
When I create a new project, I do NOT have this problem
But my old computer had worse hardware and did not have this problem...
Additional Info: I think it is a rendering issue. When I scroll down in the Desginer VS hangs a lot and my cursor goes crazy. When I change a property of a control and Click outside of VS on some other program, it changes the properties without any delay
After clicking rebuild all, I get the message saying "there were build errors etc" and visual studio freezes completely for like 45 seconds, then returns back to normal.
I have tried to solve this by deleting all sorts of temporary files generated by VS as well as disabling graphic acceleration.
I also uninstalled the VS then re-installed. Nothing helped.
I am running Windows 7 x64 with Visual Studio 2013 Express for Web.
Does anyone have any suggestions?
I had the same problem,
part of my assemblies was at another computer location and there was an access trough UNC between the computers.
I found out that the UNC has a huge latency between the computers.
now every time VS is doing compilation it's going to check all assemblies links at project and this is what make it work so slow.
you can move the ref assemblies to your local PC
or fix the latency.
It takes about 5 minutes to add a new project to a solution & roughly the same to add a class in Visual Studio.
The time is mainly waiting on the dialogue window to open.
I saw this solution for deleting files Delete File VS, is there a similar solution for what I am experiencing?
Edit:
I experience this in VS 05, 08, 10
The source control is TFS (solutions are brought locally, I assume this is implied)
I have Mcafee software encryption
My dev PC is a fast new business machine.
No resharper
Reflector installed
SQL Prompt installed
I have debugged Visual Studio, and have found each time is tries to add an item it load all the symbols from the below directories which contain dll's. I have tired deleting all the data in this folder but it comes back next time add something.
It appears the bulk of the time is spent loading the symbols...
The answer to this is highly dependent on the version of Visual Studio you are using, the language you are using, and the particular build configuration your project is using. I would need to see all three, as well as your system hardware and software configuration to give you the precise cause.
However, based on the absurdly long time you listed (5 minutes), I predict that you are facing one of the following problems:
Your build configuration requires certain build steps be run the first time the project is loaded, and the build is taking a long time.
Your machine uses exceptionally out-of-date hardware, or has no available memory and is operating from a page file.
One or more of your projects is bound to source control, and the source control provider in Visual Studio and/or the server it's connecting to are running slowly. Try unplugging your computer from the network (or disabling your wireless card) and adding a project again. This will cause the source control connection to fail immediately so if adding a project becomes fast then you found the problem.
Here's a weird solution that somehow fixed my problem (same problem):
Open instance of VS in safe mode, then open project. Everything went fine here, except it asked if I wanted to unbind my source control. (Don't do this.)
Close that instance.
Open a normal instance and run normally.
No idea why this worked, but it did!
Do you have any anti-virus software running? My work laptop has McAfee and it tries to scan just about every files. Next time it happens, check the task manager to see what hogging all the resources.
When I try to install the Async CTP for Visual Studio 2010 the installer fails.
I got the same problem bob mujica described in http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/2b816f97-ba1a-4342-824f-07c53f946b57.
Now Visual Studio doesn't work at all. I don't care about having CTP, I just want Visual Studio back. Does anyone know how I can do this?
Ian,
I know it won't help in this scenario but a little advice for the future that could save a lot of heartache. for the past 7-8 years, i've got into a disciplined habit of making a fresh backup (ghost) of my program partition (genarally the c:\ drive in my case) everytime i add a new program feature (other than service packs etc) to my installation. This basically means that should something 'not work' after installing, I can simply restore the ghost image over the top, rather than spend hours trying to figure why.
As i said, may not help this time but is a good discipline to work towards in the future.
My recommendation would be to install a fresh copy of Visual Studio, or perhaps to copy files from a fresh installation to overwrite any updated libraries. Assuming that you have the installation media you could also try to repair the installation from Control Panel -> Programs (Add/Remove Programs if you're still on XP).
From the linked post it sounds like either (a) a library file has been overwritten with an incompatible version or (b) a library file is referenced but not found on the system. (a) likely can be fixed by trying any of the above. (b) most likely requires VS to be removed and reinstalled from scratch. If you have a second machine around, you could try installing VS on that and dump or record the relevant registry changes and compare it with the faulty installation, but it might be faster just to reinstall.