{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/8477","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/8477/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/8477/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/8477/events","html_url":"https://github.com/dotnet/roslyn/issues/8477","id":132299354,"number":8477,"title":"vbc.exe throws ArgumentNullException when no source file is passed on command line","user":{"login":"tmat","id":41759,"avatar_url":"https://avatars.githubusercontent.com/u/41759?v=3","gravatar_id":"","url":"https://api.github.com/users/tmat","html_url":"https://github.com/tmat","followers_url":"https://api.github.com/users/tmat/followers","following_url":"https://api.github.com/users/tmat/following{/other_user}","gists_url":"https://api.github.com/users/tmat/gists{/gist_id}","starred_url":"https://api.github.com/users/tmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmat/subscriptions","organizations_url":"https://api.github.com/users/tmat/orgs","repos_url":"https://api.github.com/users/tmat/repos","events_url":"https://api.github.com/users/tmat/events{/privacy}","received_events_url":"https://api.github.com/users/tmat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars.githubusercontent.com/u/573215?v=3","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/4","html_url":"https://github.com/dotnet/roslyn/milestones/1.2","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/4/labels","id":937402,"number":4,"title":"1.2","description":"This is our 1.2 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":2.0}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":231,"closed_issues":488,"state":"open","created_at":"2015-01-15T20:48:55Z","updated_at":"2016-02-12T01:27:53Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-02-09T00:40:02Z","updated_at":"2016-02-12T02:21:19Z","closed_at":null,"body":"```\r\nC:\\Temp>vbc /debug:full /target:library\r\nMicrosoft (R) Visual Basic Compiler version 42.42.42.42\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\n\r\nUnhandled Exception: System.ArgumentNullException: Value cannot be null.\r\nParameter name: paths\r\n   at System.IO.Path.Combine(String[] paths)\r\n   at Microsoft.CodeAnalysis.CommonCompiler.RunCore(TextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken\r\n cancellationToken) in C:\\R1\\src\\Compilers\\Core\\Portable\\CommandLine\\CommonCompiler.cs:line 426\r\n   at Microsoft.CodeAnalysis.CommonCompiler.Run(TextWriter consoleOutput, CancellationToken cancellationToken) in C:\\R1\\\r\nsrc\\Compilers\\Core\\Portable\\CommandLine\\CommonCompiler.cs:line 295\r\n   at Microsoft.CodeAnalysis.VisualBasic.CommandLine.Vbc.<>c__DisplayClass1_0.<Run>b__0(TextWriter textWriterOut, TextWr\r\niter _) in C:\\R1\\src\\Compilers\\VisualBasic\\vbc\\Vbc.cs:line 26\r\n   at Roslyn.Utilities.ConsoleUtil.RunWithOutput[T](Boolean utf8Encoding, Func`3 func) in C:\\R1\\src\\Compilers\\Helpers\\Co\r\nnsoleUtil.cs:line 22\r\n   at Microsoft.CodeAnalysis.VisualBasic.CommandLine.Vbc.Run(String clientDirectory, String sdkDirectory, String[] args,\r\n IAnalyzerAssemblyLoader analyzerLoader) in C:\\R1\\src\\Compilers\\VisualBasic\\vbc\\Vbc.cs:line 26\r\n   at Microsoft.CodeAnalysis.BuildTasks.BuildClient.RunWithConsoleOutput(IEnumerable`1 originalArgs, String clientDir, S\r\ntring workingDir, String sdkDir, IAnalyzerAssemblyLoader analyzerLoader, RequestLanguage language, Func`5 fallbackCompil\r\ner) in C:\\R1\\src\\Compilers\\Core\\MSBuildTask\\BuildClient.cs:line 83\r\n   at Microsoft.CodeAnalysis.VisualBasic.CommandLine.Program.Main(String[] args, String[] extraArgs) in C:\\R1\\src\\Compil\r\ners\\VisualBasic\\vbc\\Program.cs:line 20\r\n   at Microsoft.CodeAnalysis.VisualBasic.CommandLine.Program.Main(String[] args) in C:\\R1\\src\\Compilers\\VisualBasic\\vbc\\\r\nProgram.cs:line 17\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/183151290","html_url":"https://github.com/dotnet/roslyn/issues/8477#issuecomment-183151290","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/8477","id":183151290,"user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars.githubusercontent.com/u/573215?v=3","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T02:21:19Z","updated_at":"2016-02-12T02:21:19Z","body":"The reason for this is we only fail fast  if [the output kind is Application](https://github.com/dotnet/roslyn/blob/master/src/Compilers/VisualBasic/Portable/CommandLine/VisualBasicCommandLineParser.vb#L1141)"}}