GAT bug involving the ApplicationBlockSettings.cs partial class

Topics: Building and extending application blocks
Oct 16, 2007 at 9:02 PM
So, I'm creating my own application block. I'm at the step where you create a new provider base and factory. I go through the steps and when it gets done, instead of having two partial classes:
  • ApplicationBlockSettings.cs
  • ApplicationBlockSettings.MyProvider.cs

I have a directory called ApplicationBlockSettings.cs with a file called ApplicationBlockSettings.MyProvider.cs inside of it.

Yeah, it is a directory; I checked it out in the file system.

The result is that, of course, the app can't compile because the partial class for ApplicationBlockSettings.MyProvider.cs is missing.

I have two questions:
  1. WTF
  2. No, seriously, WTF

I've seen some freaky bugs in my time; but a code generator creating a directory instead of a file has to be one of the freakiest.