Visual Studio “Could not copy” …. during build

I have encountered similar error messages in Visual Studio 2013. Mostly, I have found that this situation has occurred when a debug process was halted because of an exception. When clean+build has not resolved this problem for me, I have had success by doing the following: Closing Visual Studio Deleting the bin and obj folders, … Read more

Is there a format code shortcut for Visual Studio?

Visual Studio with C# key bindings To answer the specific question, in C# you are likely to be using the C# keyboard mapping scheme, which will use these hotkeys by default: Ctrl+E, Ctrl+D to format the entire document. Ctrl+E, Ctrl+F to format the selection. You can change these in menu Tools → Options → Environment … Read more

how to reset

The jQuery solution that @dhaval-marthak posted in the comments obviously works, but if you look at the actual jQuery call it’s pretty easy to see what jQuery is doing, just setting the value attribute to an empty string. So in “pure” JavaScript it would be: document.getElementById(“uploadCaptureInputFile”).value = “”;

Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt’ after installing Visual Studio 2012 Release Preview

This MSDN thread explains how to fix it. To summarize: Either disable incremental linking, by going to Project Properties -> Configuration Properties -> Linker (General) -> Enable Incremental Linking -> “No (/INCREMENTAL:NO)” or install VS2010 SP1. Edits (@CraigRinger): Note that installing VS 2010 SP1 will remove the 64-bit compilers. You need to install the VS … Read more

Visual Studio debugging/loading very slow

Here is how I solved the “slow symbol loading” problem in Visual Studio 2012: Go to Tools -> Options -> Debugging -> General CHECK the checkmark next to “Enable Just My Code”. Go to Tools -> Options -> Debugging -> Symbols Click on the “…” button and create/select a new folder somewhere on your local … Read more

How to disable all caps menu titles in Visual Studio

Richard Banks posted about a registry key for just such a tweak. Visual Studio 2012 (Full) HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General DWORD: SuppressUppercaseConversion Value: 1 In PowerShell, you can run this to set that registry key and the uppercase goes away. Set-ItemProperty -Path HKCU:\Software\Microsoft\VisualStudio\11.0\General -Name SuppressUppercaseConversion -Type DWord -Value 1 Visual Studio Express 2012 The above registry key is … Read more

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