Peek Definition in Visual Studio 2013

Go to definition (F12 in Visual Studio) is such an intensively used command, but it opens a new window for the document. Visual Studio 2013 adds a new go to definition command that actually displays the definition inline, in the same window. It’s called Peek Definition and the shortcut is ALT+F12. It opens an embedded…

Visual Studio 2013 User Profile

Visual Studio 2013 provides developers with the ability to sign in with a Microsoft account and synchronize settings across devices (and as new versions will be released across different versions of Visual Studio). When you first launch Visual Studio 2013 you are asked to sign in (you can skip that and do it any time…

error C3510: cannot locate dependent type library ” {bed7f4ea-1a96-11d2-8f08-00a0c9a6186d} v.2.4

Problem I have recently migrated a C# 2.0 project registered for COM interop to .NET 4.5 and when I imported the type library in a C++ project with no_registry, suddenly I got some errors because the type library could not be imported. Here are the steps to reproduce: create a .NET Class Library project and…

Visual Studio 2012 and git

Microsoft has announced that Visual Studio 2012 Update 2 will bring support in Visual Studio and TFS for git. They already used git on codeplex and this move shows how popular git has become. I don’t work much with git, but as I said codeplex uses git, and I used it for working on cpplinq….

How to Determine What Process Loaded a DLL

Trying to figure out in which process a particular DLL is currently loaded, I have found two solutions (perhaps there are more). Solution 1: tasklist.exe

Solution 2: listdlls.exe (from sysinternals)

It might be that listdlls is more reliable than tasklist. I have ran into cases when tasklist failed to list processes that had…

T4 Lessons Learned

Working with T4 recently I learned a couple of valuable lessons I’d like to share. Lesson 1: Template Language One of the parameters of the language directive is the language, which specifies the language used in the code blocks of the template. Two languages are specified, C# and VB.

However, any attempts to use…

Debugging Tools for Windows 7

Windows 8 RTM is not ready yet, but lots of things have been updated already with regard to the new version of the OS. Among them the download page for Debugging Tools for Windows. Here a screenshot from the page. Notice the following paragraph: There are certain rare circumstances in which you might need to…

A Quick Look at Visual Studio 11 Beta

Visual Studio 11 Beta was made available today (See Jason Zander’s announcement). It can be downloaded from here. These are my first impressions after downloading and trying it. The New UI I have already talked about the new Chrome theme. I find it awful, you don’t know what’s enabled and what is not. I wish…

C++ Renaissance at Microsoft

At the beginning of this year, Microsoft announced a “C++ renaissance”. Quoting from the description of a Channel 9 video with Craig Symonds and Mohsen Agsen: C++ is currently undergoing a renaissance. This means that, by definition, the language, compilers and compositional tooling are evolving and coalescing into a state that maximizes native developer efficiency,…