In debug, everything builds normally. When I try to compile in release mode, I get:
"The type or namespace name 'Castle' could not be found (are you missing a using directive or an assembly reference?)"
I obviously have the reference, or the project would not compile in debug either. So, what am I doing wrong?