Tag Archives: Visual Studio

Copy a directory hierarchy into the executable directory in C#

The example Copy files into the executable directory in C# explains how to make Visual Studio copy a file into the executable directory when it builds a project. That makes it easy for the executable to find the file when … Continue reading

Posted in files, miscellany, system | Tagged , , , , , , , , , , , , , , , | Leave a comment

Find Visual Studio’s Immediate window

For some reason, the Immediate window seems to be a never-ending subject for Microsoft treasure hunts. It seems like each new release of Visual Studio moves the Immediate window to a new location buried deep within the menu hierarchy. In … Continue reading

Posted in IDE, Windows Forms programming | Tagged , , , , , , , | Leave a comment

Installing Visual Studio 2017

Microsoft claims that the Visual Studio 2017 installation is faster and uses less space than previous versions, and I think they’re right. The basic approach is to install only the bare bones initially and then make you install things that … Continue reading

Posted in IDE | Tagged , , , , , , , | 3 Comments

Enable commands in Visual Studio Express Edition

This post explains how you can enable commands that are missing by default in Visual Studio Express Edition. Some of this may also apply to other editions. Visual Studio Express Edition is not quite the same as the more expensive … Continue reading

Posted in miscellany, tips | Tagged , , , , , , , , | Leave a comment

Prevent Visual Studio from running programs with syntax errors

If a program’s code contains syntax errors, then by default if you try to run the program Visual Studio displays the following message: You should pretty much always click No. If you click Yes, an older version of the program … Continue reading

Posted in IDE | Tagged , , , , , , , , , | Leave a comment

Create a Visual Studio toolbar button

The example Create a Visual Studio tool shows how to add useful web or email capabilities to Visual Studio’s Tools menu. This entry explains how to add a Visual Studio toolbar button for those commands so they’re easier to use. … Continue reading

Posted in IDE, miscellany | Tagged , , , , , , , , , , , , , , | 1 Comment

Create a Visual Studio tool

This example shows how to create a Visual Studio tool that lets you easily open a web page or send an email. There are many web sites that you may find useful while building applications. You may also want to … Continue reading

Posted in IDE, miscellany | Tagged , , , , , , , , , , | 1 Comment

Display line numbers in the Visual Studio code editor

Sometimes it’s handy to be able to see line numbers in your code so you can refer to particular lines by number. To turn on line numbering: Open the Tools menu and select Options. Expand the Options tree to go … Continue reading

Posted in IDE | Tagged , , , , , , , , , | 1 Comment

What is WPF and why should you care?

This blog entry explains what WPF is, what some of its major features are, and why you might (or might not) care. Some of this material is adapted from my book WPF Programmer’s Reference. Here’s a list of the sections: … Continue reading

Posted in books, wpf | Tagged , , , , , , , , , , | Leave a comment