一些奇怪的行为 [英] Some weird behaviors
问题描述
至少两次我丢失了我的项目,但我无法重复步骤,因为我不知道我做了什么。 通常在更改字段或重命名表字段之后我会想到。 然后有些东西不同步。 所以从新鲜重启,而不是
太糟糕。 不只是添加了一个字段,还发生了其他事情,并且所有数据都从数据库中丢失。 仍然可以构建和运行,但数据刚刚消失。 这是否发生在清洁和重建? 其他人看到任何类似的问题? 我希望我可以
提供确切的细节,但不知道我做了什么。 不要直接弄乱文件,xml或任何东西。 只需使用设计师和构建,设计师和构建。 希望测试找到了这些实际操作。
At least twice I lost my project, but I can not repro steps as I not sure what I did. Normally after changing something like adding a field or renaming a table field I think. Then something gets out of sync. So restart from fresh, not too bad. Not just added a field and something else happened and all data lost from DB. Can still build and run, but data just gone. Does this happen on a Clean and Rebuild? Anyone else seeing any similar issues? I wish I could provide exact detail, but don't really know what I did. Not messing directly with files, xml or anything. Just using designer and build, designer and build. Hope tests find catches these in action.
推荐答案
作为旁注。 我强烈推荐的一个工具是DPack VS扩展。 允许您直接从VS快速轻松地将解决方案备份到zip文件。 我现在尝试这样做。
As a side note. One tool I highly recommend is DPack VS extention. Allows you to quicklly and easily backup your solution to a zip file right from VS. I try to do it offten now.
这篇关于一些奇怪的行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!