tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

Start always the right project with this simple secret in Visual Studio

11 Jun 2018 1 mins Visual Studio

You know that feeling. You’re working in a project, hammering awesome code line after line. And then you hit F5 to see the magnificence, …, and a wrong project starts. Or you’re testing multiple applications and always clicking Set as Startup Project. Not anymore. I’ll show you a small little secret that will make this pain a history (or at least will eliminate portion of it).

Right-click on a solution node and select Set StartUp Projects…. The small little radio button on top, called Current selection is your target.

Current selection

From now on, whatever file is opened in editor or whatever file (or any node) is selected in the Solution Explorer, marks the corresponding project as a startup project. Here you can see it in action.

Demo

Given that all of this can be done easily using a keyboard, I think, in skilled hands, it can be a good timesaver.

Profile Picture Jiří Činčura is .NET, C# and Firebird expert. He focuses on data and business layers, language constructs, parallelism, databases and performance. For almost two decades he contributes to open-source, i.e. FirebirdClient. He works as a senior software engineer for Microsoft. Frequent speaker and blogger at www.tabsoverspaces.com.