{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/5155","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/5155/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/5155/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/5155/events","html_url":"https://github.com/aspnet/Mvc/issues/5155","id":171833376,"number":5155,"title":"Exception thrown if WebHostBuilder config's application name does not correspond to an assembly name","user":{"login":"kierenj","id":82343,"avatar_url":"https://avatars.githubusercontent.com/u/82343?v=3","gravatar_id":"","url":"https://api.github.com/users/kierenj","html_url":"https://github.com/kierenj","followers_url":"https://api.github.com/users/kierenj/followers","following_url":"https://api.github.com/users/kierenj/following{/other_user}","gists_url":"https://api.github.com/users/kierenj/gists{/gist_id}","starred_url":"https://api.github.com/users/kierenj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kierenj/subscriptions","organizations_url":"https://api.github.com/users/kierenj/orgs","repos_url":"https://api.github.com/users/kierenj/repos","events_url":"https://api.github.com/users/kierenj/events{/privacy}","received_events_url":"https://api.github.com/users/kierenj/received_events","type":"User","site_admin":false},"labels":[{"id":70264664,"url":"https://api.github.com/repos/aspnet/Mvc/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aspnet/Mvc/milestones/18","html_url":"https://github.com/aspnet/Mvc/milestone/18","labels_url":"https://api.github.com/repos/aspnet/Mvc/milestones/18/labels","id":1254581,"number":18,"title":"Discussions","description":"","creator":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":22,"state":"open","created_at":"2015-08-14T02:04:42Z","updated_at":"2017-01-23T04:11:56Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-08-18T07:16:15Z","updated_at":"2017-01-23T17:22:51Z","closed_at":"2016-08-22T17:46:23Z","body":"Steps to repro:\n1. Configure WebHostBuilder with `.UseSetting(WebHostDefaults.ApplicationKey, \"Something\")`\n2. Ensure `Something.dll` does not exist\n3. Call `.AddMvc()` on corresponding `IServiceCollection`\n\nOutcome:\n\n```\nAn unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Private.CoreLib.ni.dll\n\nAdditional information: Could not load file or assembly 'Something, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.\n```\n\nThe docs - https://docs.asp.net/en/latest/fundamentals/hosting.html - don't mention that Application Name is used for loading assemblies.\n\nA bug in the docs or a bug in MVC?\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/274555101","html_url":"https://github.com/aspnet/Mvc/issues/5155#issuecomment-274555101","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/5155","id":274555101,"user":{"login":"danroth27","id":1874516,"avatar_url":"https://avatars.githubusercontent.com/u/1874516?v=3","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"created_at":"2017-01-23T17:22:51Z","updated_at":"2017-01-23T17:22:51Z","body":"@Vedant-Koditkar Setting the property is still useful for cases where you want to specify the assembly that the dependency context should be loaded from. "}}
{"actor":{"display_login":"danroth27"}}