{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/core/issues/2080","repository_url":"https://api.github.com/repos/dotnet/core","labels_url":"https://api.github.com/repos/dotnet/core/issues/2080/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/core/issues/2080/comments","events_url":"https://api.github.com/repos/dotnet/core/issues/2080/events","html_url":"https://github.com/dotnet/core/issues/2080","id":384869586,"node_id":"MDU6SXNzdWUzODQ4Njk1ODY=","number":2080,"title":"[.NET Core 3][VB.NET][WPF] error BC30149: Class 'Application' must implement 'Sub InitializeComponent()' for interface 'IComponentConnector'.","user":{"login":"onovotny","id":1427284,"node_id":"MDQ6VXNlcjE0MjcyODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1427284?v=4","gravatar_id":"","url":"https://api.github.com/users/onovotny","html_url":"https://github.com/onovotny","followers_url":"https://api.github.com/users/onovotny/followers","following_url":"https://api.github.com/users/onovotny/following{/other_user}","gists_url":"https://api.github.com/users/onovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/onovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onovotny/subscriptions","organizations_url":"https://api.github.com/users/onovotny/orgs","repos_url":"https://api.github.com/users/onovotny/repos","events_url":"https://api.github.com/users/onovotny/events{/privacy}","received_events_url":"https://api.github.com/users/onovotny/received_events","type":"User","site_admin":false},"labels":[{"id":1085336152,"node_id":"MDU6TGFiZWwxMDg1MzM2MTUy","url":"https://api.github.com/repos/dotnet/core/labels/area-wpf","name":"area-wpf","color":"d4c5f9","default":false},{"id":407654148,"node_id":"MDU6TGFiZWw0MDc2NTQxNDg=","url":"https://api.github.com/repos/dotnet/core/labels/documentation","name":"documentation","color":"207de5","default":false}],"state":"open","locked":false,"assignee":{"login":"diverdan92","id":6608201,"node_id":"MDQ6VXNlcjY2MDgyMDE=","avatar_url":"https://avatars3.githubusercontent.com/u/6608201?v=4","gravatar_id":"","url":"https://api.github.com/users/diverdan92","html_url":"https://github.com/diverdan92","followers_url":"https://api.github.com/users/diverdan92/followers","following_url":"https://api.github.com/users/diverdan92/following{/other_user}","gists_url":"https://api.github.com/users/diverdan92/gists{/gist_id}","starred_url":"https://api.github.com/users/diverdan92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diverdan92/subscriptions","organizations_url":"https://api.github.com/users/diverdan92/orgs","repos_url":"https://api.github.com/users/diverdan92/repos","events_url":"https://api.github.com/users/diverdan92/events{/privacy}","received_events_url":"https://api.github.com/users/diverdan92/received_events","type":"User","site_admin":false},"assignees":[{"login":"diverdan92","id":6608201,"node_id":"MDQ6VXNlcjY2MDgyMDE=","avatar_url":"https://avatars3.githubusercontent.com/u/6608201?v=4","gravatar_id":"","url":"https://api.github.com/users/diverdan92","html_url":"https://github.com/diverdan92","followers_url":"https://api.github.com/users/diverdan92/followers","following_url":"https://api.github.com/users/diverdan92/following{/other_user}","gists_url":"https://api.github.com/users/diverdan92/gists{/gist_id}","starred_url":"https://api.github.com/users/diverdan92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diverdan92/subscriptions","organizations_url":"https://api.github.com/users/diverdan92/orgs","repos_url":"https://api.github.com/users/diverdan92/repos","events_url":"https://api.github.com/users/diverdan92/events{/privacy}","received_events_url":"https://api.github.com/users/diverdan92/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/core/milestones/5","html_url":"https://github.com/dotnet/core/milestone/5","labels_url":"https://api.github.com/repos/dotnet/core/milestones/5/labels","id":3852176,"node_id":"MDk6TWlsZXN0b25lMzg1MjE3Ng==","number":5,"title":"3.0.0","description":null,"creator":{"login":"leecow","id":2212879,"node_id":"MDQ6VXNlcjIyMTI4Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/2212879?v=4","gravatar_id":"","url":"https://api.github.com/users/leecow","html_url":"https://github.com/leecow","followers_url":"https://api.github.com/users/leecow/followers","following_url":"https://api.github.com/users/leecow/following{/other_user}","gists_url":"https://api.github.com/users/leecow/gists{/gist_id}","starred_url":"https://api.github.com/users/leecow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leecow/subscriptions","organizations_url":"https://api.github.com/users/leecow/orgs","repos_url":"https://api.github.com/users/leecow/repos","events_url":"https://api.github.com/users/leecow/events{/privacy}","received_events_url":"https://api.github.com/users/leecow/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2018-11-27T17:00:16Z","updated_at":"2018-11-27T17:00:16Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-11-27T16:08:27Z","updated_at":"2018-11-28T21:35:16Z","closed_at":null,"author_association":"MEMBER","body":"When building a WPF application using VB.NET on .NET Core 3, you get the following error\r\n\r\n`obj\\Debug\\net462\\Application.g.vb(45,16): error BC30149: Class 'Application' must implement 'Sub InitializeComponent()' for interface 'IComponentConnector'.`\r\n\r\nThis is due to VB.NET applications using `Application.xaml` as the `ApplicationDefinition` item by default, instead of `App.xaml` like C#.\r\n\r\nThe workaround is to add the following into the `.vbproj` file:\r\n\r\n```xml\r\n<ItemGroup>\r\n  <ApplicationDefinition Include=\"Application.xaml\" Condition=\"'$(EnableDefaultApplicationDefinition)' != 'false' And Exists('$(MSBuildProjectDirectory)/Application.xaml')\" />\r\n  <Page Remove=\"@(ApplicationDefinition)\" />\r\n</ItemGroup>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/core/issues/comments/442613237","html_url":"https://github.com/dotnet/core/issues/2080#issuecomment-442613237","issue_url":"https://api.github.com/repos/dotnet/core/issues/2080","id":442613237,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjYxMzIzNw==","user":{"login":"DustinCampbell","id":116161,"node_id":"MDQ6VXNlcjExNjE2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/116161?v=4","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T21:35:16Z","updated_at":"2018-11-28T21:35:16Z","author_association":"MEMBER","body":"I agree. Supporting both `App.xaml` and `Application.xaml` for both languages seems sensible."}}
{"actor":{"display_login":"DustinCampbell"}}