Round tripping a VSIX project

Visual Studio 2012 introduced project file round tripping feature.  This lets developers edit the same project in Visual Studio 2010, 2012 and 2013 without the need to upgrade the project file or modify it in any way.  This was a highly requested feature by customers that allowed them to edit their project no matter what…

1

Immutable isn’t just for parallel code

For the last 6 months the BCL team has been hard at work shipping an out of band release of immutable collections for .Net.  Most recently delivering an efficient implementation of ImmutableArray<T> http://blogs.msdn.com/b/dotnet/archive/2013/06/24/please-welcome-immutablearray.aspx Unfortunately with every announcement around these collections I keep seeing the following going past in my twitter feed. That looks neat.  Next…

5

Don’t mix await and compound assignment

The 5.0 release of C# introduced the await keyword which makes it extremely easy to use Task<T> in a non-blocking fashion.  This allows developers to replace either blocking calls to Task.Wait() or complicated combinations of ContinueWith and callbacks with a nice simple, straight forward expression Task<int> task = …; int local = await task; Use(local);…

7