After you create a new file, we need to set which file as the start up file at the Solution Explorer, after that it should be fine:
enter image description here