Methodgen changes for Mac

Including Solution file for VS and XS.  Changes to Program.cs.