{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/303","labels_url":"https://api.github.com/repos/aspnet/Home/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/303/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/303/events","html_url":"https://github.com/aspnet/Home/issues/303","id":56330934,"number":303,"title":"Behavior with multiple classes with main methods in directory","user":{"login":"chriskinsman","id":1522018,"avatar_url":"https://avatars.githubusercontent.com/u/1522018?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskinsman","html_url":"https://github.com/chriskinsman","followers_url":"https://api.github.com/users/chriskinsman/followers","following_url":"https://api.github.com/users/chriskinsman/following{/other_user}","gists_url":"https://api.github.com/users/chriskinsman/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskinsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskinsman/subscriptions","organizations_url":"https://api.github.com/users/chriskinsman/orgs","repos_url":"https://api.github.com/users/chriskinsman/repos","events_url":"https://api.github.com/users/chriskinsman/events{/privacy}","received_events_url":"https://api.github.com/users/chriskinsman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-03T03:59:23Z","updated_at":"2015-02-04T03:29:05Z","closed_at":null,"body":"If I create a project with two files:\r\n\r\nProgram.cs\r\n\r\n```c#\r\nusing System;\r\n\r\npublic class Program\r\n{\r\n    public static void Main()\r\n    {\r\n        Console.WriteLine(\"Hello World\");\r\n    }\r\n}\r\n```\r\n\r\nProgram2.cs\r\n\r\n```c#\r\nusing System;\r\n\r\npublic class Program2\r\n{\r\n    public static void Main()\r\n    {\r\n        Console.WriteLine(\"Hello World2\");\r\n    }\r\n}\r\n```\r\n\r\nHow does klr determine which Main to use?   Where I am really headed with this is a world where I could have multiple command line utils in a single folder  each of which have their own main and depend on other classes/modules in the directory.  This would allow me to build command line tooling using k that fits in with the platform."},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/72784419","html_url":"https://github.com/aspnet/Home/issues/303#issuecomment-72784419","issue_url":"https://api.github.com/repos/aspnet/Home/issues/303","id":72784419,"user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T03:29:05Z","updated_at":"2015-02-04T03:29:05Z","body":"@Eilon fixed"}}