If you change "codebehind" to "codefile" it'll run from the cs instead of the DLL. It caused me a lot of shit, though; I ended up going back to codebehind.
Or, write the code in stand-alone testable units, like you ought to be anyway.
There are many things that ought to be done, sadly. Cheers, though!