Running Batch Files on Visual Studio 2010 Project Items

Sunday, June 26th, 2011

This is something I wrote as an answer on StackOverflow. I dug it out again the other day as I needed it for something else. I have a horrible memory and my blog is essentially just a glorified indexing system for it. Ade’s brain is now, like everything else indexed ...

Gotchas: Assembly Level Attributes in F#

Wednesday, October 13th, 2010

This is something I discovered ages ago and should have been in my original Gotchas: Common Traps for the F# n00b post. I figured out how to add assembly level attributes to one of my F# assemblies but forgot to include it in the post. The gotcha is ...

Gotchas: The Profiler Uses Processor Resources Too!

Wednesday, July 14th, 2010

I was doing some work on the Parallel Programming with Microsoft .NET book yesterday. We’ve added some additional content to Appendix B to show some of the “visual patterns” that can tell you what’s wrong with your parallel code. Here’s one of those patterns… The image on the left ...

Gotchas: Common Traps for the F# n00b

Sunday, January 3rd, 2010

I spent a bunch of time over the holidays getting to know F# a bit better. I think I now consider myself to be truly dangerous with it. A couple of things which repeatedly bit me as I stumbled through learning F# as a n00b.

Gotchas: Adding Attributes to Properties on Interfaces in F#

Tuesday, September 15th, 2009

I ran into a couple of issues when writing an F# class to be consumed by C#. Specifically when it came to adding attributes to a property declared on an interface. You would expect the following code to decorate the SofteningLength property with the Dependency and DefaultValue attributes: ...