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-par, you can achieve anything. Why not? Nobody said it would be easy. I just said Anything's Possible.
Browse by Tags
All Tags »
.NET (RSS)
-
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.".
Read More...
|
-
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 Read More...
|
-
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 Read More...
|
-
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. Read More...
|
-
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 Read More...
|
-
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> /// Read More...
|
-
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 Read More...
|
-
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 Read More...
|
-
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 Window Explorer Drag Image Introduction If you've worked with .NET Read More...
|
-
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 Read More...
|
-
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 Read More...
|
-
Back to Shell Style Drag and Drop in .NET - Part 2 namespace DragDropLib { using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; #region DataObject /// <summary> /// Read More...
|
-
Back to Shell Style Drag and Drop in .NET using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; namespace DragDropLib { #region DataObject /// <summary> /// Implements Read More...
|
-
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 Read More...
|