Change project from console to application project.