{"action":"opened","issue":{"url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/1931","labels_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/1931/labels{/name}","comments_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/1931/comments","events_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/1931/events","html_url":"https://github.com/MahApps/MahApps.Metro/issues/1931","id":78335347,"number":1931,"title":"Modal dialogs not showing in Visual Studio plugin","user":{"login":"TheAngryByrd","id":1490044,"avatar_url":"https://avatars.githubusercontent.com/u/1490044?v=3","gravatar_id":"","url":"https://api.github.com/users/TheAngryByrd","html_url":"https://github.com/TheAngryByrd","followers_url":"https://api.github.com/users/TheAngryByrd/followers","following_url":"https://api.github.com/users/TheAngryByrd/following{/other_user}","gists_url":"https://api.github.com/users/TheAngryByrd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAngryByrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAngryByrd/subscriptions","organizations_url":"https://api.github.com/users/TheAngryByrd/orgs","repos_url":"https://api.github.com/users/TheAngryByrd/repos","events_url":"https://api.github.com/users/TheAngryByrd/events{/privacy}","received_events_url":"https://api.github.com/users/TheAngryByrd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-20T02:19:41Z","updated_at":"2015-05-20T02:19:41Z","closed_at":null,"body":"Hey there,\r\n\r\nI'm working on the GUI component for the Paket Visual Studio plugin and I've run into a problem with modal dialogs.  I'm probably doing something stupid, hopefully you all can help.\r\n\r\nI'm using the latest nuget package of mahapps (1.1.2.0), \r\n\r\nWhat I'm doing here is trying to open a dialog to show an error message but the screen dims and the dialog never shows up and get this in the output window\r\n\r\n    A first chance exception of type 'System.NullReferenceException' occurred in MahApps.Metro.dll\r\n\r\n![metrodialognotshowing](https://cloud.githubusercontent.com/assets/1490044/7717570/b5027536-fe71-11e4-9eda-33ad0c2c6c17.gif)\r\n\r\n\r\nThe code can be located here:\r\nhttps://github.com/TheAngryByrd/Paket.VisualStudio/tree/AddPackageUIModalError\r\n\r\nYou may have to have the Visual Studio SDK installed (https://www.microsoft.com/en-us/download/details.aspx?id=40758)\r\n\r\nOnce you have the code loaded and built the xaml files are located\r\nPaket.Visualstudio/Commands/PackageGui\r\n\r\n![xamlfiles](https://cloud.githubusercontent.com/assets/1490044/7717657/f9c15948-fe72-11e4-9383-6b2d834c65cf.PNG)\r\n\r\nStart debugging (F5) and it will attempt to open another instance of Visual Studio (this might take awhile)\r\nFrom there just open up the same project Paket.VisualStudio\r\n\r\nFrom there you can right click on the paket.references and click on add package \r\n![paketreferencesaddpackage](https://cloud.githubusercontent.com/assets/1490044/7717716/e2d1ffe8-fe73-11e4-85a6-bcc471ed3c6a.png)\r\n\r\nThe gui should show up (maybe not depending on other Visual Studio Extensions and strongly typed names... did I mention making VSIXs are hard?)\r\n\r\nJust type anything in the search box, I've set it up to show to show a dialog box.\r\n\r\nSorry I can't provide a simpler sample.\r\n\r\nThanks!"}}