-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The type 'Window' does not support direct content #1048
Comments
For me, adding |
Perfect, that works for me as well! I had to reload the application, but all is well! Thank you! |
Since this approach seems to work, someone should probably make it to where new PTVS WPF projects include the |
This is still happening. Even with the error the project can still be built/run, though. |
We haven't released anything in the last 22 days, that's why it's still happening :) Our next update will have a fixed template. The fix for existing projects is to add the |
I'm using visual studio 2015 to develop a basic IronPython WPF project. The XAML window shows the error "the type 'Window' does not support direct content", similar to the unrelated issue reported here http://stackoverflow.com/questions/33805234/the-type-window-does-not-support-direct-content.
Previously the issue didn't exist, and I believe it only occurred after updating to VS2015 Update 1 and Python Tools 2.2.
I can repeat this by creating a new IronPython WPF project with no additional content (image attached).
I can also fix the issue, temporarily, by adding a reference to "System.Xml". The reference can then be removed, but the warning will return when the project is loaded again.
The text was updated successfully, but these errors were encountered: