MSDN Blogs
Sign in
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
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET
C#
Drag and Drop
IDataObject
IDragSourceHelper
IDropTargetHelper
Interop
MSBuild
Pages
PROPVARIANT
Source Server
Symbol Server
Team Foundation Server
Team Test
Unit Testing
Visual Studio
VSTT
Archive
Archives
December 2009
(1)
June 2009
(3)
February 2009
(1)
April 2008
(3)
February 2008
(8)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Anything's Possible
Shell Style Drag and Drop in .NET - Part 2
Posted
over 5 years ago
by
adamroot
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
Shell Style Drag and Drop in .NET - Part 3 (Bug Fix)
Posted
over 4 years ago
by
adamroot
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
Building VS 2008 Unit Test Projects in MSBuild 4.0 Beta 2
Posted
over 4 years ago
by
adamroot
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 (WPF and WinForms)
Posted
over 5 years ago
by
adamroot
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
Working with Deleted Build Data in Team Foundation Server 2010
Posted
over 4 years ago
by
adamroot
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
Source Server and Symbol Server Features in Team Foundation Server 2010
Posted
over 4 years ago
by
adamroot
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
Shell Style Drag and Drop in .NET - Part 3
Posted
over 5 years ago
by
adamroot
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...
Anything's Possible
Interop with PROPVARIANTs in .NET
Posted
over 5 years ago
by
adamroot
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...
Page 1 of 1 (8 items)