Visual Studio

Error: “Predefined type ‘System.ValueTuple’ is not defined or imported”

As soon as you start programming tuples in C# 7.0, you are likely to encounter the compiler error, “Predefined type ‘System.ValueTuple’ is not defined or imported.”   This issue is easily corrected. When encountered, the error will look like this on the code editor: The issue is that the C# 7.0 compiler is trying to generate the underlying CIL code…

Creating a Fody Add-in

Fody is a fantastic framework for creating IL weavers. For those who are unfamiliar with IL weaving, it is the art (and at times a seemingly magical incantation) of modifying an assembly post-compile. In this article we will walk through creating a library that can modify an existing .NET assembly. Let’s start by looking at what actually happens when you…

Visual Studio 2012 Presenter Mode

For those of us frequently presenting, we are faced with having to switch to presenter fonts by changing the font size for multiple different display items on the Environment->Fonts and Colors Options dialog or (if we are looking for an adequate but not optimal solution) simple changing the zoom level.  Of course, when we get back to our desks, we…

Visual Studio 11 Search Everywhere

One feature new to Visual Studio 11 that you will wonder how you managed without (perhaps instead you wondered why it was missing from Visual Studio for so long) is the concept of “Search Everywhere.”  In Visual Studio 11 search is now supported for the following: Solution Explorer* Add Reference* Integrated Quick Find* New Test Explorer Error List Parallel Watch Toolbox…