Automatic check-in in visual studio 2012 - visual-studio

Every time I hit save in my visual studio 2012 It tries to check-in and most of the times it fails.!!!
I'm using Microsoft TFS server itself.
Now my question is How can I make it stop from auto checking-in?
I tried to disable it from option->source control-> environment but there is no option to disable the auto checking-in on saving in Saving drop down.
I want to save my project locally and check-in when ever I want and not automatically.
I'll add a screen shot next time it happens

I started to use TFS recently in Visual Studio 2013. I think the check-in function should be no different from Visual Studio 2012. It won't auto check-in when saving files. Have you checked "Pending Changes" -> "Included Changes" to make sure changes have been checked in?

Related

How to make visual studio auto-save changes after delay like vscode?

I recently started to work with visual studio 2017. I am looking for making visual studio 2017 to auto-save after delay as what vscode does. Is there any way to achieve that?
Not exactly what you ask for, but Visual Studio has AutoRecover feature that can restore unsaved changes in case of a crash.
You can also auto save files when Visual Studio loses focus.

Visual Studio 2013 Crashing When Opening Team Explorer

After opening Visual Studio 2013 successfully, I switch to the Team Explorer tab and consistently get a popup error dialog saying that, "Microsoft Visual Studio 2013 has stopped working" and "Windows is checking for a solution to the problem".
This seems to be directly related to TFS (2013 Update 4) since other tools that access TFS (like Source Control Explorer > Workspaces...) also cause the crash.
Edit: I have already tried a VS 2013 Repair. This took all morning with no different results.
This is frustrating because I cannot use TFS outside of the command-line tools. Any help would be greatly appreciated. Thank you.
Credit to Tuğrul Emre Atalay for the post: Visual Studio Crashing When Checking In.
His issue was checking in changes and having Visual Studio crash. In my case, just using the TFS tools was consistently causing a crash.
The fix for me was to only clear out the local cache and not both the server and local caches.
Clean the Cache folder on client computer. The folder path is: C:\Users\username\AppData\Local\Microsoft\Team Foundation\5.0\Cache.
I cleared this folder and I was able to use all of the TFS tools without any further issues.
I then realized that this happened since migrating to a new user name. I had copied many of my settings over from my old account folder and it must have corrupted the cache area.
I had the same issue with Visual Studio 2015 Enterprises. When i open it, VS wasn't able to connect to TFS and it crashed when i clicked on "manage connections"
The issue was not about the cache (I cleared the cache, made a repair of VS and nothing changed) but about the fact that we are currently migrating our projects from perforce to Git with Team Foundation Server.
When Visual Studio starts, it seems VS is trying to connect to TFS with linked Git repositories, but since the plugin currently used is perforce, it causes an exception somehow.
The solution is to set your source control plugin to Microsoft Git Provider (or Visual Studio Team Foundation Server if you are using it)
Here's two screen shots I took. Right after I selected the Microsoft Git Provider, the Team Explorer tab automatically refreshed and I am now able to connect to my projects.
Go to Tools -> Extensions and Updates Look for Github Extension for Visual Studio and Uninstall it
Never Mind as you can still work with Github
Now Restart Visual Studio.
Enjoy working on Team Explorer.

Shelving in Visual Studio 2010

I can't find shelving option. Currently I'm using Visual Studio 2010 for which I've been asked to use Shelving and Unshelving, but I can't seem to find where the shelve option in Visual Studio 2010 is.
I right clicked my file in Solution Explorer, I seem to have everything Build, Rebuild, Clean etc., options but no "Shelve Pending Changes" option. Do I need to install some plugin?
It's in your pending changes view:
Top level menu: View > Other Windows > Pending Changes
Then you'll have two buttons for both shelving and unshelving:

Visual Studio 2012 - Solution Explorer - Checked Out By Another Person in Another Place

All of my coworkers can see in Visual Studio 2012 Solution Explorer when anybody else has code checked out.
The icon changes from Checked In to Checked Out By Another Person in Another Place.
But my Visual Studio does not update to change the icon when this takes place. I went to another coworkers desk and had them check out a file and then I went back to mine and the icon did not update. I checked out one of my files and it was correctly displayed on their screen.
Is this a bug in Visual Studio 2012?
Is there an option I can click in TFS, Visual Studio, or elsewhere where I can turn this option on?
It is quite annoying working with multiple developers and I do not know when somebody else has a file checked out.
I am currently running Visual Studio Professional 2012 - Version 11.0.61030.00 Update 4

Visual Studio 2012 TFS Silent Check In issue

I appear to be having a sporadic issue with checking in code to my TFS 2010 server via Visual Studio 2012. Every few check-ins or so Visual Studio will not display the yellow bar above the "Team Explorer - Pending Changes" pane confirming the check-in with a change-set number. I will not receive the associated email as well. Sometimes the check-in will not occur at all with no message anywhere, nor the change-set incrementation in the Team Web Access website. Mind that I do frequently have successful check-ins.
Any help would be appreciated.
Thanks!
Check if you have a hanging "TFS Power Tool Shell Extension" (TfsComProviderSvr.exe). I notice this extension does not close when I close Visual Studio.

Resources