Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts

Friday, June 21, 2013

Visual Studio 2010 Startup Gets Faster, Just disable TFS autoconnect feature and Save a lot of time

If you have experienced that opening Visual Studio 2010 takes too much time as it tries to connect to TFS automatically, you can now disable TFS auto connect and once visual studio is up then connect it to TFS which take very less time.

For achieving this You can install the TFS power tools, you can download it here


  1. Please close all the Visual Studio and TFS instances before you start installation.
  2. After installation open up a visual studio command prompt and run the command “tfpt connections” this will bring up a dialogue which will show all of your available TFS servers and Collections.
  3. There are 2 options you can try, firstly uncheck "Automatically connect to server on startup" this should stop VS trying to connect to TFS when you open a solution.
  4. If that doesn't work then click on the "+" next to the TFS server and select the collection you are using for source control. Hit the "Edit" button and you should see a checkbox called "Server is Offline" select this and you will no longer be connected to TFS.
  5. To reverse the behaviour use the same tool to togle the values back to their defaults.


Sunday, June 16, 2013

How to Allow Visual studio to let you edit the code while debugging? Allow Editing the code while debugging.


Many times we come across a situation when we are debugging the code in Microsoft Visual Studio and we find something is missing in our code and we need to change it.
If our setting is not proper we need to stop debugging and then change the code and re run, which takes a lot of effort and time.
To avoid this we can simply do the following :

If you want to make any changes while debugging then you can edit and continue the application, if that option is enabled. to check this option is enabled or not, go to Tools->Options then 



There you go :)

Friday, April 19, 2013

Run Visual Studio 2012 as administrator every time


As a developer I spend my life inside Visual Studio. Since I installed Windows 8, I was having trouble opening web projects. Turns out that I need to run Visual Studio as an administrator.

Rather than right clicking the shortcut every time and another click to run as administrator, I found a permanent solution. For the lazy me, it saves two extra clicks.

Open properties of the shortcut to Visual Studio 2012, go to Shortcut tab.


Click on Advanced and then check Run as administrator checkbox.


Yipppie !!!


Thursday, January 17, 2013

How To Solve: "No Files Were Found To Look In. Find Was Stopped In Progress"

Last week a co worker of mine who wanted to remain anonymous, ran into the weirdest problem. She tried to use the “find in files” option in Visual Studio 2012 and even though the searched expression was out there in one of the files, she got the following result: “No files were found to look in. Find was stopped in progress.”


You can close Visual Studio, restart your computer or jump three times on one leg, but the problem remains. This is a very strange and odd bug,

But fortunately there is a solution: press Ctrl+Scroll Lock and everything gets back to normal. If it doesn’t work, try to press Scroll Lock and than hit Ctrl+Scroll Lock again. I have no idea why or how it works, but the fact is that it does solve the problem.