Anything's Possible - Site Home - MSDN Blogs

Anything's Possible

Ever heard a developer say "it can't be done?" It is one of my biggest pet peeves. The truth is, it can be done. If you approach a problem pragmatically and put enough effort into it, understanding the root issues, and not settling for sub-pa

  • Anything's Possible

    Source Server and Symbol Server Features in Team Foundation Server 2010

    • 0 Comments
    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...
  • Anything's Possible

    Building VS 2008 Unit Test Projects in MSBuild 4.0 Beta 2

    • 4 Comments
    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 framework versions for different projects under a single invocation of MSBuild.exe. Unfortunately, in Beta 2, we've had reports of a problem with building unit test projects that contain the special generated accessor assemblies, otherwise known as "test references". If you have a VS 2008 unit test project with test references, you may find that MSBuild 4.0 gives you an error like: Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Build\Project\Sources\ProjectName\ProjectName.UnitTests\obj\Debug\ProjectName_Accessor.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". ...
  • Anything's Possible

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

    • 4 Comments
    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...
  • Anything's Possible

    Working with Deleted Build Data in Team Foundation Server 2010

    • 0 Comments
    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...
  • Anything's Possible

    Shell Style Drag and Drop in .NET (WPF and WinForms)

    • 0 Comments
    If you've worked with .NET drag and drop, you may have noticed that the pretty images that Windows Explorer paints while dragging items does not come for free. In fact, by default, .NET will give you a rather ugly black and white cursor with the drag...
  • Anything's Possible

    Shell Style Drag and Drop in .NET - Part 2

    • 4 Comments
    Last week, in Shell Style Drag and Drop in .NET (WPF and WinForms) , I looked at hooking up the COM interfaces necessary to implement drag images using the Windows Shell. This week, I'm going to introduce some .NET 3.5 extensions (which can be easily...
  • Anything's Possible

    Interop with PROPVARIANTs in .NET

    • 0 Comments
    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...
  • Anything's Possible

    Shell Style Drag and Drop in .NET - Part 3

    • 0 Comments
    In Part 1, Shell Style Drag and Drop in .NET (WPF and WinForms) , I opened up the discussion about implementing a nice Shell style drag image, like that of Windows Explorer, in C#. This involved exposing a couple of COM interfaces to .NET, as well as...
Page 1 of 1 (8 items)