当我在Visual Studio 2017(社区,版本15.7.4)中创建new IronPython WPF project
时,我将遇到"XDG0008 Window (and also Grid) is not supported in a Windows Presentation Foundation (WPF) project"
错误。 XAML
中没有IntelliSense,并且我无法添加任何其他控件。 WPF
应用程序(.NET Framework)项目没有问题。
Python Environments = IronPython 2.7 (32-bit)
References = PresentationCore , PresentationFramework, System.XAML, WindowBase. Base on python project file all these references are version 4.0.
如果删除并重新添加引用,则没有任何区别。有什么建议吗?
感谢并为我的英语感到抱歉:)