简体   繁体   English

有没有计划在未来的VS版本中支持XAML的编辑和继续?

[英]Are there any plans to support edit-and-continue of XAML in future VS versions?

它会让生活变得如此简单!

This is completely impossible. 完全 不可能。

When you run a WPF app, the XAML is parsed in the constructor into a visual tree, which is then displayed as a form. 当您运行WPF应用程序时,XAML将在构造函数中解析为可视树,然后将其显示为表单。

Edit & Continue would mean re-creating the visual tree, which would break any code in the form. 编辑和继续意味着重新创建可视树,这将破坏表单中的任何代码。

XAML Edit and Continue is now possible in VS 2015 for UWP apps. 现在可以在VS 2015 for UWP应用程序中使用XAML编辑和继续。 This should be available with the "Windows 10 Anniversary Update". 这应该与“Windows 10周年更新”一起提供。

More info and a demo of the upcoming feature can be viewed here https://channel9.msdn.com/Events/Build/2016/B853 更多信息和即将推出的功能的演示可以在这里查看https://channel9.msdn.com/Events/Build/2016/B853

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM