I recently swapped out my iPad for a Surface 2 and must admit I haven’t looked back once. I stumbled across a neat little trick that allows me to use the Play To functionality to stream content from the Surface 2 to my XBMC media center (which is running on a projector in my living room).

The XBMC Media Center shows up under Play Devices as “Not Windows certified”


Screenshot (1)

Playing to non-certified devices is still possible, however. This is done simply by adding a registry key. To do this, go to your start screen, type regedit and hit enter on the search result (regedit.exe). Now navigate to the key


If that key doesn’t exist just create it. Then create a new 32-bit DWORD value called ShowNonCertifiedDevices and set its value to 1.

Now if you try to Play To again you should see your device on the list.

Screenshot (3) 

Now you can stream videos from your Surface 2 straight to your DLNA-enabled TV or Media Center device. Awesome right?


This is more of a question than a blog post but here goes!

I have in TFS a Main branch and a Dev branch. Dev is unstable, with my teammates checking in code continuously. When a feature is complete and the testers have OK'd it, it is the developer's responsibility to merge the changes to Main.

I try to urge my teammates to keep check-ins on the Main branch atomic, i.e. One Feature One Check-In. This is to ensure that when we get to release branch time, it is easy to see which are the new features since the last release.

However, this is difficult to do in TFS, it seems.

Say I have been working on a feature for a couple of weeks, doing lots of small check-ins on the Dev-branch. Other developers are also doing the same. When it comes time to merge my completed feature to Main, I use the "Selected Changes" option to cherry-pick my check-ins. However, TFS does not allow me to select non-consecutive change sets. Therefore, I have to select them one by one and merge them to my local Main. This is where the problem arises. When I have changed the same file through multiple check-ins (you know, refactoring etc.), TFS just tells me that I have conflicting local changes and that I should check those in before continuing. This means that I cannot merge my feature to Main as one atomic check-in.

I would really like to keep checking in to Dev as often as possible and not really care that the check-in history on that branch is "dirty". Nevertheless, when it comes time to move features to Main I think a nice, clean check-in log would be awesome to have.

My question is how do I do this? My environment is VS2013 and the TFS server is running 2012.


I’m testing out a new blogging platform. I’ll be ironing out kinks for a couple of days (i.e. getting Disqus properly integrated). Stay tuned (no, I won’t promise to update more often – it probably won’t happen anyway ;-))

Update: So I have Disqus comments _almost_ working as intended. However I’m waiting to see if the URL mapping upates I have submitted will take effect. Thus the comment count on some older posts is wrong, although the comments are visible below the post.


I'm really happy with Visual Studio 2012, and I do think it's by far the biggest leap forward for any iteration of VS. However, one new feature that bugs me is the "Auto Preview" where any file I click on in the Solution Explorer is opened for me in a special preview tab. 

This can be prevented if you hold down the ALT-key while clicking around the Solution Explorer, but IMO it should have been the other way round (i.e. don't preview unless you ALT-click).

Luckily this can be easily turned off by going to Tools -> Options -> Tabs and Windows and de-selecting the Solution Explorer under 'Preview Tab'



I finally succeeded in getting the Cisco AnyConnect VPN client to work on my Windows 8 home PC. I couldn't get the ActiveX or JAVA-based versions to work, so after logging in to the VPN portal, I got an option do download the software and install it manually. 

However, once I tried to connect, I got the following error: 


To solve this, open the Registry Editor and go to [HKLM\SYSTEM\CurrentControlSet\Services\vpna] and modify the DisplayName key so that it only contains the text

Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64

Once this is done, you're all set and the VPN client should work just fine.