简体   繁体   English

XAML Designer中所做的更改仅在重建后才显示在应用程序中

[英]Changes made in XAML Designer showing in application only after Rebuild

If a start Debug after adding button control in Designer there is no button in application until I force Rebuild of the XAML project. 如果在Designer中添加按钮控件后启动Debug,则在我强制重新构建XAML项目之前,应用程序中没有按钮。

There is just one test project from VS templates (It means the error occurs in both real and test projects) Application for Windows Phone 8. VS模板中只有一个测试项目(这意味着在实际项目和测试项目中均会发生错误)Windows Phone 8应用程序。
XAP is not read-only. XAP不是只读的。
Clean Solution don't help. 清洁溶液无济于事。
Other application (XNA) on the same phone Emulator works fine. 同一手机仿真器上的其他应用程序(XNA)可以正常工作。

I have created new empty project and it worked fine. 我创建了一个新的空项目,它工作正常。 Maybe my previous test project was influenced by something. 也许我以前的测试项目受到了某些影响。 It was my fault. 这都是我的错。
Remember: Computers don't do mistakes unlike people. 请记住:计算机不会像人一样犯错误。
Сonclusion: New empty test project is a very usefull way to understand the reasons (or solutions at least) of bugs. 结论:新的空测试项目是了解错误原因(至少是解决方案)的非常有用的方法。

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

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