Visual Studio “Tip of the Day”

If you like the tips and tricks we sometimes post on this blog, you might want to check out the Visual Studio Tips and Tricks blog.  It’s written by Zain Naboulsi, a Senior Developer Evangelist at Microsoft, and it’s devoted to these little productivity boosters.  We’ll continue to post the occasional tip here on the… Read more

What is the difference between “dynamic” and “object” keywords?

Let’s take a quick look at the object keyword first. I’m not going to talk a lot about it because it’s been around since C# 1.0. This keyword is nothing more than a shortcut for System.Object, which is the root type in the C# class hierarchy. (However, as Eric Lippert pointed out in his blog… Read more

MSBuild Interview on CodeCast

I had the distinct pleasure to meet up with Ken Levy and talk about MSBuild. Ken is responsible for the CodeCast interviews at code magazine. The interview consists of an in-depth technical and scenario discussion on how and why to use MSBuild, both in Visual Studio 2008 and Visual Studio 2010.  We also discussed new features for VS 2010… Read more

Tips and Tricks: Ctrl+E to Search in New Project Dialog and Extension Manager

Here’s a quick tip of the day for anyone who wants to quickly use the new search feature of the New Project Dialog and the Extension Manager.  You can press Ctrl+E to quickly set focus to the search box.  Did you know that this same keyboard shortcut also works in Windows Explorer, IE and other… Read more

Using the VSIX Manifest Editor

In Visual Studio 2010, we provide a new way of packaging and deploying extensions known as a VSIX. Several project templates in Visual Studio generate VSIX files (from the most basic, VSIX Project, the MEF editor extensions and Visual Studio Packages). The VSIX itself is a simple zip file (using the Open Packaging Convention) containing… Read more

How to read/write the new Visual C++ project properties

Visual C++ 2010 introduces several new project and tool properties, and deprecates some old ones.  If you’re writing a project template or Visual Studio extension that needs to programmatically read and write the new properties, you will find that these properties are not available on the standard VCConfiguration, VCCLCompilerTool, etc. set of interfaces.  These are… Read more

Searching and Navigating Code in Visual Studio 2010

Every developer knows that navigating code is vital to happy and productive coding. We’ve added several new features for code search and navigation in Visual Studio 2010, including Navigate To and an improved Call Hierarchy, to complement search staples like the Find and Replace dialog and Incremental Search. With such a wide variety of options,… Read more

Getting Information About Objects, Types, and Members with Expression Trees

Starting with C# 3.0 and Visual Studio 2008, you can use expression trees to get information about objects, types, and members. In this post I’m going to show some examples and explain what benefits you can get by using this technique. If you are not familiar with expression trees, I would recommend reading Charlie Calvert’s… Read more

Product registration for the About Box in Visual Studio 2010 and the deprecation of IVsInstalledProduct interface

In this article I’ll talk about the information that needs to be specified by a product integrating with Visual Studio to make that product appear in the About box dialog, and the changes to these settings for Visual Studio 2010. You are probably familiar by now with the layout of the Visual Studio’s About Box… Read more