Using Visual Studio 2019 Community Edition on Windows 10. Simply open and close Visual Studio, and every time one or two new .tsv log files are generated at C:\Users\USER\AppData\Local\Microsoft\VisualStudio\SettingsLogs.
The name of the log files are:
DATE-TIME-devenv-XXXX.tsv (XXXX is a 4-digit number like "3688")
DATE-TIME-ServiceHub.SettingsHost-XXXX.tsv (XXXX as above)
In Visual Studio, Help > Send Feedback > Settings has been set to "No, I would not like to participate". Every time Visual Studio runs, multiple processes can be seen starting in Task Manager with names like:
Microsoft.ServiceHub.Controller
ServiceHub.Host.CLR.x86
ServiceHub.SettingsHost
ServiceHub.IdentityHost
These shut down when Visual Studio is closed.
Is it possible to stop these log files from being generated? Can these anciliary processes be prevented from starting?
Related
We have some files on a network share. If someone opens and edits a file with Visual Studio and saves it, I don't get prompted that it got changed. If it gets changed by any other editor, it works fine: I get a notification.
Is there something special about how Visual Studio is saving files, making other instances not detect the change?
Also, if I just open two instances of Visual Studio locally and do a change in one, the other detects change properly. Issue happens only when someone else on the network edits a file with Visual Studio.
Thanks!
I'm using VS 2010. I've just made changes to a large number of files in a project. About 40 or so files got deleted. I checked out the entire project first (using Team Foundation 2012 as our source control). Now when trying to check in, I see an error "Could not find file 'C:\folder\filename.dll'" in a popup dialog. This is the first missing file it came across. When I check the Output window, I only see that one file. I know there are several others.
Visual Studio 2012 will display the list of all of the missing files in the Output window.
Is there a way to do this in VS 2010?
There is no way to do this in Team Explorer 2010. Due to feedback this behaviour was changed in Visual Studio 2012.
Note: Visual Studio 2010 drops out of mainstream support in July.
I would try command line first, tf checkin, posdibly with /i (not to prompt) and /validate (to not risk actual checkin).
Other, very basic solution is to get list of all checked out files(tf status) and write a script that undo checkout if file does not exist.
I am having an issue with Visual Studio 2012 where break points are never being hit unless I enable
'Allow the source code to be different from the original version'
When, I do this I get a warning that the source file differs from the debug version.
I have reset the settings in visual studio and this has made no difference. I have also created a blank project and the same thing still seems to be happening.
To try and fix this I have:
1) Rebooted the pc
2) reset all VS settings
3) Created a new blank project
Any would would be appreciated.
I have seen this occur when an IIS express process gets hung up. Please close all instances of Visual Studio 2012. Then open up windows task manager and find all process that have the image name of iisexpress.exe and make sure to end those process. Then restart VS2012 and you should be good to go.
So my Visual Studio 2010 is extremely slow (and sometimes freezes) when I have a particular file open and attempt to compile and run the project. I have to open the Task Manager and kill the process for Visual Studio to regain control. If I close this file, and open any other file in the Solution Explorer in my project, Visual Studio compiles and runs the program just fine. The build succeeds, but Visual Studio just freezes after that. If I attempt to do anything in the IDE, Windows will tell me that Visual Studio is not responding. I've tried commenting out everything but the bare essentials in the file that's causing the freezing, and that didn't work. In order to get my program up and running, I have to close the file and then build the project. Visual Studio will then build and run the program in a timely manner as long as the particular file is not open. This only started a few days ago, and I haven't made any changes to the code that could have done this, nor have I updated or installed anything else onto my computer. Any ideas would be greatly appreciated. Thanks.
I fixed this. What I did was run devenv.exe /log and looked through the log. It had the following warning in it: "The CTM file is out of date and should be deleted and rebuilt, but the file 'C:\ProgramData\Microsoft\VisualStudio\10.0\1033\devenv.CTM' could not be deleted." I went and deleted this file, and it did the trick. Now even with that particular file open, Visual Studio builds and runs the program just fine.
First of all, I am not asking the same question here. ( This may be a duplicate post on Stack Overflow.) I have searched other solutions on MSDN, ASP .NET Forum, Stack Overflow, Code Project and everywhere on internet. But none of them solved my problem. These are the links that I found:
http://blogs.msdn.com/b/kirillosenkov/archive/2012/01/11/vs-hangs-for-1-minute-on-start-debugging-check-for-dead-symbol-paths.aspx
http://www.codeproject.com/Questions/272109/Visual-Studio-2010-Hangs-When-Debugging-App
And a lot more...
My CPU is 4th Generation Intel Core i7 and memory capacity is 8 GB. I think it is more than recommended hardware requirements.
Problem:
My visual studio hangs on these situations.
Opening a solution (Hangs for a minute when I open a file from solution explorer)
Running the debugging (Freezes consistently when I click on debug button) and
Stopping the debugging (Freezes immediately after the UI returns to the Developer layout after debugging)
I have tried the following steps:
I ensured that I deleted all the breakpoints in the solution.
I ensured that I am not using any resources from network drive.
I ensured Step over properties is enabled.
I ensured Enable .NET Framework source stepping is NOT enabled.
I start visual studio with SafeMode to suppress extensions
I cleared watch window.
I cleaned and rebuilt the solution.
Before I encounter this problem, I installed "Install Web Components" Visual Studio Add-In a few weeks ago. May be because of extensions and add-ins?
How can I do it to solve my problem?
If you suspect that Visual Studio settings get corrupted after installing "Install Web Component" bundle, why don't you try to reset the settings?
You can perform the steps below to reset Visual Studio settings:
Open Visual Studio Command Prompt (2010) under Start menu > All Programs > Microsoft Visual Studio 2010 > Visual Studio Tools (Run it with Administrator privilege: Right-click the program > Run as administrator)
Run devenv /Resetsettings to restore the IDE's default settings, optionally resets to the specified VSSettings file.
Run devenv /ResetSkipPkgs to clear all SkipLoading tags added to VSPackages.
Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
Open your solution in Safemode and see whether it works.
Found this to happen also when the solution is connected to a Team Foundation Server and the service is not available at the moment, so the solution could not connect. In this case do not end the Visual Studio instance and wait until a message box show up giving the option to Go Offline. This is usually associated with the "Visual Studio is waiting for an operation to complete...." notification message.
My solution was simply to reload a saved GOOD (backup) copy of my settings (made a year ago). Worth trying before resetting everything to blank. My VS2010 would take 60 seconds to start debugging and approx. 3 minutes to stop debugging. I saved the corrupted settings and to my surprise they were over 3MB instead of 260Kb. I loaded the good backup copy and everything is great again :-)
If Visual Studio doesn't respond only when attempting to open solutions, then open a raw instance of Visual Studio then Reset Settings
Check How to: Reset Your Settings from the Tools Menu
http://msdn.microsoft.com/en-us/library/ms247075%28v=vs.90%29.aspx
This is Visual Studio 2013 and Windows 8.1
Open developer command prompt.
Start -> All programs -> Visual Studio -> Visual studio tools -> developer command prompt
Make sure that you don't have any pending changes that need to be checked in.
run this command : "tf workspace /delete 'your workspace/ machine name'"
yes for removing the unnecessary pending changes if at all present.