Empty Visual Studio Project?

I was misled by the C++ “Empty Project” or “Makefile Project”. I cant create new folder there. Here are three steps to add an empty C# project: 1) Create the project. (Add > New Project > Visual C# > Windows > Empty Project) 2) Exclude it from build. (Build > Configuration Manager, uncheck Build on … Read more

Visual Studio: Re-enable “Build failed, run last success?” dialogue box

The process is as follows for Visual Studio 2010 and above (but should be similar for previous versions): On the menubar go to: ‘Tools’ –> ‘Options’ Go to ‘Project and Solutions’ –> ‘Build and Run’ There you can find a combobox under the label ‘On run, when build or deployment errors occur…’. Select an appropriate … Read more

How to debug Visual Studio extensions

Visual Studio Extensions can be debugged like any other application. You just need to setup the debug experience to launch devenv with the loaded extension. Try the following Right click on the project and select Properties Go to the Debug Tab Click on the radio button for Start External Program. Point it to the devenv.exe … Read more

Visual Studio – Where to define custom path macros?

Here the approach is described with pictures: https://sites.google.com/site/pinyotae/Home/visual-studio-visual-c/create-user-defined-environment-variables-macros In Visual Studio you need to: Click in the main menu “View”, then “Property Manager” Right-click in the empty space of “Property Manager” window and in the pop-up menu click “Add New Project Property Sheet” After adding the property sheet, double click it in the Property Manager … Read more

Find Results not displaying Results

Check registry fixes in this thread. That helped me. To make sure it won’t disappear I’m copying the solution from Martin Rosselle here: Please check if the following registry key is ok. Fixing this solved the issue for me. Copy the text below and save it as .reg file. Go to regedit.exe and import saved … Read more

Visual Studio Run As Admin from Recent solutions list

Close all instances of Visual Studio Right click on the Visual Studio icon in your task bar Right click on Visual Studio and click Properties Click open File Location button Right-click devenv.exe file in that folder appears Select Troubleshoot compatibility Select Troubleshoot program Select The program requires additional permissions Click Test the program and wait … Read more

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