My Visual Studio stopped recognizing external file changes.
I checked the respective options being enabled ('Environment/Documents/Detect when file is changed outside the environment' and 'Environment/Documents/Auto-load changes, if saved).
I restarted Visual Studio as well as my machine.
I tested other software that recognized changes, such as Notepad++, which works just fine.
I tested different Visual Studio projects to check if it has something to do with the project being screwed up somehow - same effect in all projects I tested.
What's going on here?
(There are some SO questions that appear to be related judging by the headline: VS2012 not detecting external changes, Visual Studio 2012 stopped applying changes to solution and Visual Studio 2012 not detecting file change, but all are about different issues.).
Happened to me as well this morning. Exiting VS and relaunching/opening the project seems to have it working again. Super strange!
Related
Our IT department had to reinstall my work PC.
After receiving it back, I installed Visual Studio 2017. Added the NuGet Package Sources that I needed as well as installed the EPiServer CMS Extenion for Visual Studio.
I restarted the computer.
However when I launch our EPiServer project in Visual Studio, and look at my code, I see that all the using EPiServer; directives show up as being unused as well as are underlined with a red line.
In my code, any reference to code from these using directives is also red underlined.
Before the reinstallation of the operating system I had a similar setup of Visual Studio where these using statements worked.
It appears all I had to do was build the project once right after setting everything up.
After having built the project, now when I browser the various .cs files, the using statements are showing up correctly as being used where relevant.
I have Visual Studio 2015 version 14.0.25420.01 update 3.
When i start my program from the environment with local debugger and after that try to make a change in the code, most of the times visual studio crashes, and in some i don't see the changes and the keyboard is not responding anymore.
If Visual-studio doesn't crash, i can fix the non-responding keyboard issue by closing and opening the project again, it allows me to continue my work. This problem happen on every project that i am trying to work on, so code doesn't really matter here. I also have earlier versions of Visual Studio and they work fine without this issue. Any ideas?
To be clear: Visual Studio crashes only when i edit my code while running it.
I tried looking this up on the visual studio support site and apparently this should have been fixed. I am still experiencing periodic hanging while debugging.
I am running the most recent update of visual studio 2017: 15.2
I have tried disabling extensions (Resharper 2017 Ultimate, Developer Analytics, etc.) without any luck. Its very frustrating, because I end up having to end the Visual Studio task in task manager.
Has anyone else had similar issues with 15.2?
UPDATE
I found this on the MS site. I had looked up and down, but once I added a 15.2 search criteria it showed up.
I had issue with Visual Studio 2019 hangs while debugging. I have deleted .vs(hidden) folder. It works fine then.
The .vs directory can be found on the same directory where the solution file located. (It was hidden by default, we need to enable the visibility on file explorer setting at windows )
Updating to 15.2(26430.16) has solved this issue. I preformed the update almost 2 weeks ago and have not had an issue since.
I have installed Visual Studio 2015 Community Edition via Unity's installer and some of the options windows look like this:
Nothing fixes it; uninstalling-installing, formatting or installing on different machines. Apparently no one complains about this issue because there seems to be nothing on search results, but I'm 100% sure that everyone is experiencing this issue. When you open Visual Studio on its own, problem goes away, it works like it should. However, making Unity open Visual Studio causes it. I assume that this is caused by Unity forcing Visual Studio to load a plugin (probably Visual Studio Tools for Unity) which is actually incompatible with almost everything in Visual Studio.
Is there a solution to this problem? It drives me crazy and I don't want to use MonoDevelop.
I have the problem that Visual Studio 2013 crashes when I lock the computer or start another instance of Visual Studio.
I use Visual Studio 2013 with latest patches applied. I always start Visual Studio as Admin.
This seems to only happen with a certain big solution. This problem did not occur to me with other solutions.
I tried to delete the solution and make a clean checkout from TFS, but Visual Studio still crashes.
I know this is not much information, but do you have any idea how to fix this or how to what else I could check?
Additional Information: This still happens even with Visual Studio 2015 on a fresh Windows 8.1 installation...
Here's the error:
Use the following steps to solve the issue:
Source: http://resharper-support.jetbrains.com/entries/24765142-Visual-Studio-with-ReSharper-is-freezing-and-or-crashing
I would copy the solution with quotation but as you can see, there is a lot of text to edit.
Start Visual Studio using the /log switch. Then check the created log file for warnings and errors:
%APPDATA%\Microsoft\VisualStudio\11.0\ActivityLog.xml
If you use a Web Browser to view the file, it will be nicely formatted, due to the accompanying xsl-sheet.