Windows Develop Bookmark and Share   
 index > Windows Forms Designer > My .sdf file keeps getting deleted
 

My .sdf file keeps getting deleted

I have an app with a local .sdf database file. This file keeps disappearing from the project as I debug and test it. Anybody know a way to keep these files from vanishing? Thanks!
Greg
Robert Abbey Inc.  Thursday, May 21, 2009 3:09 PM
Hi Greg,

I am afraid I am not able to reproduce you issue. Could you give me more details? Isee you have a .sdf database file. Where do you put it, include in app or you just accesses the .sdf file in programming? Besides, do you use the windows forms application to test your .sdf file?

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Tuesday, May 26, 2009 8:51 AM
Hello, I do have the .sdf in the project and in a project folder. I've tried moving it from /Data to /SDFs but no matter where I put it, when I hit F5 to debug the app, the .sdf file comes up missing. VS is deleting it. Thanks for your time and feedback!
Greg H.
Robert Abbey Inc.  Wednesday, May 27, 2009 1:24 PM
Also, this seems to happen when i Build or Rebuild the project or solution.
Greg H.
Robert Abbey Inc.  Wednesday, May 27, 2009 5:56 PM

You can use google to search for other answers

Custom Search

More Threads

• Custom SaveAs Dialog
• Multiple Forms
• Doesnot show image in datagridview for the first time when set an MDIParent property
• Unable to select individual control on a Custom control
• What is the ideal way to open and close form in windows application?
• New build of control cannot deserialize the property of elder built?
• Lost my main form in designer
• Form_resize does not fire?
• ControlX could not be set on Property 'Items'
• Strange behaviour when changing language