TechDays 2010 Belgium and DevDays 2010 Netherlands videos available!
Woohoo, the videos are finally online.
I'll make a cURL script asap to download all the videos...
Copy Source as HTML in Visual Studio 2010
While playing with my fresh Visual Studio 2010 RTM version I noticed something, the Copy as HTML... context menu disappeared!
A small issue you would say and indeed it is:
- Go to: C:\Users\Administrator\Documents\Visual Studio 2008\Addins
- Copy the file: CopySourceAsHtml.AddIn
- Go to: C:\Users\Administrator\Documents\Visual Studio 2010\Addins
- Paste the file CopySourceAsHtml.AddIn
- Open the file CopySourceAsHtml.AddIn and replace 9.0 with 10.0
- Open Visual Studio and voila!
Result (this sample also shows multi threading in 1 line, a new feature of .NET 4.0):
static void Main(string[] args)
{
// Create a list of items.
var items = new Dictionary<string, int>();
items.Add("audi", 5);
items.Add("volkswagen", 1);
items.Add("mercedes", 2);
// Parallel loop.
Parallel.ForEach(items,
o =>
{
Thread.Sleep(o.Value * 1000);
Console.WriteLine(o.Key);
});
// Pause.
Console.Read();
}
Download the modified file: CopySourceAsHtml.AddIn (983.00 bytes)
Download the original package: http://copysourceashtml.codeplex.com/
Visual Studio 2010 MSDN Download announced by Scott Hanselman
Scott just twittered the VS2010 release date (time) on MSDN!
Developers: MSDN will be updated with downloads and details at 10am PST *today*! Pls RT!
This will become a legendary screenshot:

This would be
- 10am PDT
- 1pm EDT
- 7pm GMT
- 9pm BELGIAN time!
TeamCity build log and build status using MSBuild
By default TeamCity's build log only shows important messages.
And the status of the build is 'Running...' until it's done or failed.
If you want to display more information during your build you have several options using your MSBuild scripts:
Writing to the build log
This can be done using the following task:
<Message Importance="high" Text="##teamcity[message text='Obfuscating...' status='WARNING']" />
Result:

Updating build status
This can be done using the following task:
<Message Importance="high" Text="##teamcity[progressMessage 'Obfuscating...']" />
Result:

And for those that don't know TeamCity, visit: http://www.jetbrains.com/teamcity/buy/index.jsp
To quote:
TeamCity is a continuous integration and build management system. With TeamCity, you can set up a build server within minutes and enjoy out of the box continuous unit testing, code quality analysis, and early reporting on build problems — even without leaving your favorite IDE. TeamCity offers a gentle learning curve, so you can quickly improve your release management practices by gradually adopting its advanced features and capabilities.
Keybindings for Visual Studio 2010
Available in PDF Microsoft published the Visual Studio 2010 Keybinding Cards.
This document includes keyboard shortcuts for the following topics:
- Debugging
- Refactoring
- Build
- Editing
- File
- IntelliSense
- Navigation
- Window
It is available for C++, C#, F# and VB.NET