This question already has answers here:
Code editor appears blank
(10 answers)
Closed 6 years ago.
I have been using VS for many years. Today I have encountered a very strange problem with visual studio 2013. Suddenly for some reason I am unable to see any text in the editor window. I've tried reloading the files, redocking each window, restarting VS, restarting my machine and resetting all my settings in Tools -> Import and Export Settings. At present I'm completely stuck as I can't do anything. The tab for each opened file appears at the top as expected but just a blue pane. I'm hoping this is something daft!
I just had the same Problem. However MVVM Light is not installed. I deactivated all extensions that to my knowledge could interfere with the editor and restarted. Problem solved.
Then I reactivated the extensions bit by bit, now all are active again and the problem is still gone.
This was caused by the installation of MVVM Light via the extension manager. I uninstalled it and it went away. Installing the required dlls via nuget didn't have the same issue.
Related
This question already has answers here:
How do you debug classic ASP?
(7 answers)
Closed 3 years ago.
I've tried all possible ways but not able to debug the classic code. I tried attaching the process to IIS and enabled debug in IIS, tried several steps but still no luck, any help will be very much appreciated.
I've tried all the related articles still no luck so im posting this for more help.
1.Open Visual Studio 2010
2.Open your website in Visual Studio
3.Fire up your web site.
4.In Visual Studio, click ‘Debug’ Menu -> ‘Attach to process’
5.You may need to tick the box labelled ‘Show processes from all users’
6.‘Inetinfo.exe‘ if application protection is low or ”dllhost.exe‘ if application protection is higher. You may get an ‘Attach Security Warning’ popup. If so, continue On. It’s a bit scary at first, but if it’s your own app on your own PC, then you’ll be ok.
7.Add a breakpoint to your code, and navigate to a location where you will hit it.
Source: http://www.jameswiseman.com/blog/2010/10/12/debugging-classic-asp-from-visual-studio-2010/
Problem: Visual Studio's "tab wells" or windows are linked/locked in to the primary Visual Studio window and as a result Windows 7 will minimize/show all tab wells and visual studio windows whenever just one of them is clicked. This is very painful when I have code on both of my screens open and then when I try to open up stack overflow on one screen and read that while writing code on my second it will hide the browser in favour of the not-in-use tab well.
Question Remake: Alright, so let me start off by saying that this question has already been asked for VS2012 and Resharper version 7.1 here: Visual Studio 2012: change setting for “Enable floating tab wells”
The problem is I'm using Resharper version 9 and the solution (well more work around tbh) in that other question no longer appears to work.
The bug is caused by a problem with Visual Studio and Resharpers way of mitigating it is to lock the tab wells into the primary client, however according to this bug log here: (RSRP-322167) It appears that the bug is in fact resolved so therefore the work around suggested in the question would be perfect, if only I could get it to work.
After opening project (new or old) Visual Studio shows warning "Designer terminated unexpectedly" (can see in the picture below). What could cause this error? And how to fix that?
I clicked "click here to reload the designer" and it shows the same error.
I had the same issue and found out that my Oracle VirtualBox causes the issue.
My Visual Studio runs in a virtual Windows 10 enviroment.
After I disabled "Enable 3D Acceleration" in options Display, my Visual Studio Designer worked fine again.
I just had a similar problem. Tried:
Clicking to reload the designer
Cleaning my solution
Restarting Visual Studio
Repairing Visual Studio
Uninstalling and re-installing Visual Studio!
It ended up being graphics related, as you mentioned.
I have hybrid graphics (Intel and NVIDIA), and was using NVIDIA for Visual Studio. Changed it to Intel and this worked.
If it helps, a screenshot of my NVIDIA control panel is below:
Before (broken):
After (working):
Some people have found a file "c:\program" that causes this, often created by typo creating a log file.
Check to see if this file exists, and if so, move or delete it.
Graphics card was the problem for me. I have an external USB video from DisplayLink and when I disconnected it the problems went away. in fact it didn't return when I reconnected the displaylink.
Start Visual Studio As Administrator~!
I had the same problem when i started working in Team Projects, so almost everything did not work including the designer, properties menu, debugging and so on.. (which is totally unusual for anything to cause all these problems except for Administrator Privileges issues probably in most cases).
Don't know why or what caused it, but at least it works.
In my case it was the problem with using system brushes as ThemeResource. Yes this is apparently a bug like other odd bugs in MS products. So I had to comment out them until I finished my project. I don't know, maybe another factor such as my graphic hardware was not ineffective but this does not exonerate MS.
Many times a day, on a new work computer, Visual Studio's code window turns red and blue all of a sudden! The problem only goes away if I restart that instance of Visual Studio or re-apply the fonts & colors settings, closing and opening a file/tab doesn't help.
Only the currently visible file gets the glitch at first when it happens, other open tabs generally retain their proper colors until I reopen them or I open new files - which are then shown with the glitched colors. Sometimes certain types of text in other open files turns blue though, like a virus spreading ;)
I'm guessing there's a plugin or a missing hotfix or glitchy graphics driver but I haven't figured out what the problem is yet and it's driving me nuts.
I've had this problem once before but don't recall how I fixed it, it's been a while since then and I have many similar installations since that's not showing this issue.
There's also a Microsoft Connect issue on it that is closed with status "cannot reproduce" - and it's easy for me to reproduce by simply launching IE9. Sometimes, however, the problem appears without me launching IE.
Visual Studio 2010 SP1 on Windows 7 SP1, ReSharper 6.1 and Reflector 7.5.4.20. I've disabled hardware acceleration in VS with no difference, it's an Nvidia Geforce 210 with a dual screen setup with primary screen on the right. Also, the markup shown is not written by me and contains no sensitive information
This seems to be a small hiccup with the dark theme in Visual Studio. It happened to me when I did a system resume with the VS project still open. The solution to this is just restarting Visual Studio. Works like a charm.
It seems it actually helped to update Nvidias graphics driver, even though it was just a few months old and for quite an old and trusted graphics card. Oh well - now I'm happy that the problem is gone, and upset that it was so easy.
Found this be searching for an answer to the same issue.
They way I fix it is to open Tools -> Options and then click on Environment -> Fonts & Colors to reset the coloring for the current buffer.
It appears to be VS is not recoloring the current buffer after locking the screen for at least 4 mins. I believe this to be a bug in the themes handling in VS, but I this is really the only place I could find this mentioned.
Just installed SP1 for VS 2010 hoping that it will help, but it does not.
I faced the same issue with vs2013...
This solved the issue..http://madskristensen.net/post/visual-studio-update-2-and-web-essentials
As the title says, my Visual Studio 2010 SP1, running on Windows 7 x64, is crashing whenever I try to open a .html, .aspx, .cshtml, etc. file. I noticed this problem some weeks ago. Since then, when I open one of these kinds of files, it opens, freezes for a few seconds and then crashes. I tried using the repair function provided with the installer, but it didn't work. The only solution right now is to reinstall the os, but I don't feel like doing such thing.
Has anyone else encountered this kind of problem? Thank you!
I've been having this problem when using the default Web Form Editor and still haven't found a solution that works. I haven't a clue what's causing it, and the only plugin I have is Resharper.
I solved it temporarily by right-clicking the ASPX file, clicking Open with and choosing HTML Editor as the Default editor. Seems to be a problem with the Web Form Editor for a certain kind of files.