How to have TFS 2010 detect changes done to files outside of Visual Studio?

TFS has a “Reconcile” command for this: Open the Source Control Explorer Right-click on the folder with the changes and choose Compare Select the files you want to reconcile (press CTRL+A to select all files) Click on the Reconcile button Set the options in the Reconcile Folder Differences dialog. Make sure Files that do not … Read more

Error: Cannot access file bin/Debug/… because it is being used by another process

Ugh, this is an old problem, something that still pops up in Visual Studio once in a while. It’s bitten me a couple of times and I’ve lost hours restarting and fighting with VS. I’m sure it’s been discussed here on SO more than once. It’s also been talked about on the MSDN forums. There … Read more

Visual Studio – vdproj is incompatible

The correct procedure to resolve “Incompatible” issue with VDPROJ Projects coming from Visual Studio 2010 and 2015 in 2017 or 2019 is: Enter Visual Studio .NET 2017 or 2019 2017: Click on “Tools” -> Extension and Updates -> Online 2019: Click on “Extensions” -> Manage Extensions -> Online Type “Installer Project” on the search box … Read more

Visual Studio or Resharper functionality for placement of using directives

UPDATE – ReSharper 2016.1: This option is now moved to Code Editing → C# → Code Style → Add ‘using’ directive to the deepest scope Have you tried the ReSharper option: Languages → C# → Formatting Style → Namespace Imports → Add using directive to the deepest scope I’m not sure whether R#’s code cleanup … Read more

How to determine why visual studio might be skipping projects when building a solution

Right click the solution, choose Properties and then Configuration Properties. Here you can choose which projects to build. [edit]: See Kdt’s comment: … when I looked in configuration properties … the project build target was configured for “Mixed Platforms” while the solution was set to build “Any CPU”. *When this problem happened to me, The … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)