Main.xaml is gone - is there anywhere I can get it back

Yeah I looked for a hidden file, nothing.

I think you’re right that it doesn’t do an actual publish when running in Studio. So I’m screwed.