Maybe I am doing something wrong and please forgive me if I do but it seems like the design script keeps information even if you already delete the command/script.
Say try setting the top property of a label then delete that command and that command will still be read as if it is still in the design script.
I did run the script through F5 and I can see it on the device but the script is already deleted in the designer.
I tried creating a button then set the text using script designer run it on the test device after compile then delete the script recompile again and it errors.