Building VS 2008 Unit Test Projects in MSBuild 4.0 Beta 2

Introduction MSBuild 4.0 has all sorts of features for targeting different .NET Framework versions. The idea is that you can use MSBuild 4.0 to build all your legacy (pre-4.0) project types, as well as new projects that just target a downlevel version of the .NET Framework. In addition, you can mix and match the target…

4

Source Server and Symbol Server Features in Team Foundation Server 2010

Introduction Jim Lamb wrote a good post about Enabling Symbol and Source Server Support in TFS Build 2010 Beta 1. His post gives a great overview of the requirements to get it working out of the box (it’s very easy!), while this post aims to help the beginner understand how it works, to elaborate on…

0

Working with Deleted Build Data in Team Foundation Server 2010

In Team Foundation Server 2008 you could delete builds both from the Build Explorer, using the context menu on one or more builds, and from the command line, using TfsBuild.exe. Also, retention policy would automatically delete builds as specified. Once you deleted the build, you no longer were able to see the build in the…

0

Working with Deleted Build Data in Team Foundation Server 2010

Introduction In Team Foundation Server 2008 you could delete builds both from the Build Explorer, using the context menu on one or more builds, and from the command line, using TfsBuild.exe. Also, retention policy would automatically delete builds as specified. Once you deleted the build, you no longer were able to see the build in…

0

Shell Style Drag and Drop in .NET – Part 3 (Bug Fix)

I updated the download link for the sources of Shell Style Drag and Drop in .NET – Part 3. There was a bug that several readers found, where some programs would try to get data that didn’t exist, and the DragObject implementation didn’t tell them about the status of the data properly. This manifested itself,…

4

Interop with PROPVARIANTs in .NET

Introduction When it comes interop, .NET has solved most of the hard problems. However, if you’ve worked with COM interfaces that return or take PROPVARIANTs as parameters, you may have noticed that there isn’t much support for this union’d struct type. I came across one such interface, and needed a good way to interop with…

1

Interop with PROPVARIANTs in .NET

When it comes interop, .NET has solved most of the hard problems. However, if you’ve worked with COM interfaces that return or take PROPVARIANTs as parameters, you may have noticed that there isn’t much support for this union’d struct type. I came across one such interface, and needed a good way to interop with its…

0

PropVariant.cs

Back to Interop with PROPVARIANTs in .NET namespace System.Runtime.InteropServices.ComTypes{    using System;    using System.Runtime.InteropServices;    /// <summary>    /// Represents the OLE struct PROPVARIANT.    /// </summary>    /// <remarks>    /// Must call Clear when finished to avoid memory leaks. If you get the value of    /// a VT_UNKNOWN prop, an implicit AddRef is called, thus your reference will    ///…

0

Shell Style Drag and Drop in .NET – Part 3

Series Links This is part of a 3 part series: Shell Style Drag and Drop in .NET (WPF and WinForms) Shell Style Drag and Drop in .NET – Part 2 Shell Style Drag and Drop in .NET – Part 3 Introduction In Part 1, Shell Style Drag and Drop in .NET (WPF and WinForms), I…

40

Shell Style Drag and Drop in .NET – Part 2

Series Links This is part of a 3 part series: Shell Style Drag and Drop in .NET (WPF and WinForms) Shell Style Drag and Drop in .NET – Part 2 Shell Style Drag and Drop in .NET – Part 3 Introduction Last week, in Shell Style Drag and Drop in .NET (WPF and WinForms), I…

2