WM5 VS2008 sdf Database deployment option

S

SteveS

I have a mobile application with a .sdf Database included. I am developing on
Windows XP SP2 and deploying to Microsoft Device Emulator V3.

In Solution Explorer if I right click and go into properties for the
database, the "Copy to Output Directory" option does not appear to be working
properly?

If I set the property to "Do not copy" or "Copy always" then it works as
expected.

If I set the property to "Copy if newer" then it functions like "Copy
always" and the database is always overwritten when I deploy the application.
I would expect this to only copy if I made some change to the database?

What am I missing?
 
S

SteveS

While in V2008, I click the Green Start Debugging button and it deploys
directly to the Device Emulator.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top