Just installed the Windows Phone 8 SDK and got disappointed when running the sample app on the phone emulator failed with the following cryptic message:
The Windows Phone Emulator wasn’t able to create the virtual machine. Something happened while creating a switch: Xde couldn’t find an IPv4 address for the host machine.
Some people suggested that the problem might be related to the VirtualBox being installed on the machine (I had it). Uninstalling VirtualBox helped, although it is a bit annoying, as I need VirtualBox to access my work VPN.
The Async Targeting Pack for Visual Studio 2012 (distributed as a NuGet package) enables .NET Framework 4.0 and Silverlight 5 projects to use the async language feature in C# 5 and Visual Basic 11. Of course, it has some limitations, and behavior is not always the same as in .NET 4.5, but it seems to be a nice way to get the async feature into older projects.
My colleague just hit into a problem with his Visual Studio 2012 – the Toolbox (the one keeping UI controls) lost its scrollbar. The scrollbar was appearing if he was filtering controls by name, and disappearing again when filtering was off. After searching a bit on the net I found that people were seeing the same problem in Visual Studio 2010 as well. The workaround Barney Nicholls, that post’s author, proposes for Visual Studio 2010 involves deleting toolbox*.* files from the Visual Studio settings’ folder:
- Close Visual Studio.
- Delete toolbox settings using the commands below.
- Start Visual Studio.
The commands (script) to delete the toolbox settings (those files are normally hidden, thus we need to remove the hidden file attribute before):
attrib -h %userprofile%\appdata\local\microsoft\visualstudio\10.0\toolbox*.*
Needless to say, that this worked for Visual Studio 2012 as well – just substitute 10.0 with 11.0 in the commands above. And, of course, you can perform these operations in Explorer, FAR, or any other file manager as well.
PS Just occurred to me, that there is one more problem, similar in its nature, but with different symptoms – IntelliSense stops working after some actions, e.g. renaming some function. Usually, deleting the hidden .suo file with the same name as the solution .sol file and located in the same folder as the solution file resolves the problem. Of course, Visual Studio must be closed when performing this operation.
Scott Hanselman also expresses his view about TypeScript in Why does TypeScript have to be the answer to anything?. The article has some explanations, and references some extra tools, e.g. Web Essentials 2012 VS2012 plugin that, among many other cool things, improves TypeScript support in the VS2012.
Pause ‘n’ play: Asynchronous C# Explained is a quite nice presentation from Microsoft Research’s Claudio Russo about asynchronous programming in C# 5.
Microsoft Message Analyzer (currently in Beta) has been released to the public. It is a smart successor to the Microsoft Network Monitor that hosts lots of cool new features, like parsing and validation of protocol messages and sequences, user-controlled on-the-fly grouping by message attributes, re-assembly of- and rendering of payloads, etc. It has also a separate blog at Technet.
On September 5, Nokia announced new Windows Phone 8 Lumias. While those phones are not revolutionary on the surface (no pun intended :), but rather evolutionary, the story is completely different on the software side: Windows Phone 8 has not much resemblance to its predecessor Windows Phone 7.5. Specifically, I refer to WinRT, and completely new ways of developing software for it.
Today I decided to get Windows Phone 8 SDK to start developing a new app I have an idea for, so that it would be ready for the WP8 launch, or at least soon after it. Imagine my surprise when I learned that there is no preview version of WP8 SDK available. And, even worse, Microsoft is not even planning to release it to the general public before WP8 launch in the end of October – only “more published developers” will be able to get it later this month in addition to those “select partners and developers” that have already seen early builds of the new SDK before.
Now this is seriously puzzling me. Microsoft, which has troubles getting market share with Windows Phone, is not giving interested developers the new SDK before WP8 release? What the heck!? I guess they hope that their “select partners” and “more published developers” will develop some cool apps for the launch date. Which is fine. But they do forget, that by giving these guys this kind of advantage they are stealing a chance from other developers. And these developers (me included) will be pissed, and rightfully so. How can we be loyal to Microsoft, if Microsoft is dividing developers into two classes: first class people who get the SDK, and “everyone else”?
In the last few years I started to believe that Microsoft has genuinely changed its approach to developers by offering early previews of their new technologies, and even listening to the developers’ feedback. Now I see that not much has changed in reality – different divisions of Microsoft act in completely different ways (e.g. Visual Studio 2012 vs Windows Phone 8 SDK), and, for some of them, political agendas are more important than real issues in the market. Sad.
PS I am not the only one with this opinion…