{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/PTVS/issues/1324","repository_url":"https://api.github.com/repos/Microsoft/PTVS","labels_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1324/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1324/comments","events_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1324/events","html_url":"https://github.com/Microsoft/PTVS/issues/1324","id":156956683,"number":1324,"title":" VS output window is blank / WPF / IronPython","user":{"login":"nedcrest","id":17677787,"avatar_url":"https://avatars.githubusercontent.com/u/17677787?v=3","gravatar_id":"","url":"https://api.github.com/users/nedcrest","html_url":"https://github.com/nedcrest","followers_url":"https://api.github.com/users/nedcrest/followers","following_url":"https://api.github.com/users/nedcrest/following{/other_user}","gists_url":"https://api.github.com/users/nedcrest/gists{/gist_id}","starred_url":"https://api.github.com/users/nedcrest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nedcrest/subscriptions","organizations_url":"https://api.github.com/users/nedcrest/orgs","repos_url":"https://api.github.com/users/nedcrest/repos","events_url":"https://api.github.com/users/nedcrest/events{/privacy}","received_events_url":"https://api.github.com/users/nedcrest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T10:51:09Z","updated_at":"2016-05-26T10:51:09Z","closed_at":null,"body":"I have a problem while running my WPF Python simple application in Visual Studio. The \"output\" window is completely blank and it shows no elements that I used in VS xaml designer:\r\n\r\n**My xaml code:**\r\n`<Window xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\r\n        xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\r\n        Title=\"Window1\" Height=\"324.913\" Width=\"469.204\">\r\n    <Grid>\r\n        <Label x:Name=\"Label\" Content=\"blablablablabla\" HorizontalAlignment=\"Left\" Height=\"59\" Margin=\"29,10,0,0\" VerticalAlignment=\"Top\" Width=\"223\"/>\r\n        <Canvas HorizontalAlignment=\"Left\" Height=\"190\" Margin=\"10,69,0,0\" VerticalAlignment=\"Top\" Width=\"242\" Background=\"#FFD4D4D4\"/>\r\n        <Menu x:Name=\"menu\" HorizontalAlignment=\"Left\" Height=\"26\" Margin=\"10,69,0,0\" VerticalAlignment=\"Top\" Width=\"90\">\r\n            <MenuItem Header=\"MenuItem\" RenderTransformOrigin=\"0.5,0.5\">\r\n                <MenuItem.RenderTransform>\r\n                    <TransformGroup>\r\n                        <ScaleTransform/>\r\n                        <SkewTransform/>\r\n                        <RotateTransform Angle=\"366.586\"/>\r\n                        <TranslateTransform/>\r\n                    </TransformGroup>\r\n                </MenuItem.RenderTransform>\r\n                <MenuItem Header=\"MenuItem\" Height=\"100\" Width=\"100\"/>\r\n            </MenuItem>\r\n        </Menu>\r\n        <DataGrid x:Name=\"dataGrid\" HorizontalAlignment=\"Left\" Height=\"190\" Margin=\"257,69,0,0\" VerticalAlignment=\"Top\" Width=\"204\"/>\r\n    </Grid>\r\n</Window>`\r\n\r\n**Window1.py (wasn't changed):**\r\n`import wpf\r\n\r\nfrom System.Windows import Window\r\n\r\nclass Window1(Window):\r\n    def __init__(self):\r\n        wpf.LoadComponent(self, 'Window1.xaml')`\r\n   \r\n**WindowApplication2.py (wasn't changed):**\r\n`import clr\r\nclr.AddReference('System.Drawing')\r\nclr.AddReference('System.Windows.Forms')\r\n\r\nfrom System.Drawing import *\r\nfrom System.Windows.Forms import *\r\n\r\nclass MyForm(Form):\r\n    def __init__(self):\r\n        # Create child controls and initialize form\r\n        pass\r\n\r\n\r\nApplication.EnableVisualStyles()\r\nApplication.SetCompatibleTextRenderingDefault(False)\r\n\r\nform = MyForm()\r\nApplication.Run(form)`\r\n\r\n**Here are screenshots of settings for the interpreter:**\r\n![wpf1](https://cloud.githubusercontent.com/assets/17677787/15572274/d53bdab0-233f-11e6-83af-bd4ef2169585.JPG)\r\n\r\n![wpf2](https://cloud.githubusercontent.com/assets/17677787/15572278/dcbc6fde-233f-11e6-8033-2d464d866b93.JPG)\r\n\r\n**My project panel:**\r\n_as you see I have active ironpython environment (i tried both x64 and x32)_\r\n![wpf-proj](https://cloud.githubusercontent.com/assets/17677787/15572316/27396e68-2340-11e6-835e-be26a313af68.JPG)\r\n\r\n**And finally my \"output window\":**\r\n![wpf3](https://cloud.githubusercontent.com/assets/17677787/15572360/69458c24-2340-11e6-989d-fb5bd42cb480.JPG)\r\n\r\nAny ideas?"}}
{"actor":{"display_login":"nedcrest"}}