Visual Studio for Mac is poorly documented so I’m just putting this out there because it took me too long to figure out
How to make your Visual Studio Cocoa app quit when you close the window:
Open AppDelegate.cs
Somewhere in the class body, start typing the word “Application” and select “ApplicationShouldTerminateAfterLastWindowClosed”. Visual Studio should auto-generate some code.
Add “override” keyword to get rid of the warning if you want
Replace the throw statement with “return true;”
Profit












