I discovered by accident that line 8 in this program, which is invalid, causes the optimising compiler to skip the rest of the code in App_Start without raising an error. The code compiles and runs OK but does nothing! It uses the ControlsExDesktop library