Frustrating 99%
It’s Thursday’s evening and I’m hard at
work at 8 PM, culminating the day. I’d done a lot of code generation and
mapping, so I now press the button and wait for it to finish generating the
last version. I’m tried but excited since it’s took so long to get
to this point, but the code compiles, which is always a good sign J
Now all I need is to write a really simple test to verify
that it’s working on general, and I’m done for the day. I’m planning
on just testing that something really simple works, and leave everything for Sunday.
I run it, and the test fails. No
worry, I think, I probably forgot something trivial, and so I start
investigating it. I quickly find the problem, but I’ve no idea what is
causing it.
The issue was that I VS2K5 didn’t add the file extensions
to embedded resources. I’d done this sort of thing before, and I know
that it should work. I’m banging my head against the keyboard, hoping to
get some random key sequence that would fix it.
I decide that I can either stay at this until I figure
exactly what is going wrong, or I can just leave it and let my unconsciousness
work on it.
I decided to drop if for now, and I just solved it! J
It’s a simple matter, seems that MsBuild doesn’t
save the file extension for embedded resources when the resource is marked as depended
upon some other file. I edit it quickly, and I’m done. It require some few other minor
tweaking, but it seems to be working.
Comments
Comment preview