all groups > dotnet windows forms > march 2008 >
You're in the

dotnet windows forms

group:

WM5 VS2008 sdf Database deployment option


WM5 VS2008 sdf Database deployment option SteveS
3/25/2008 11:01:04 AM
dotnet windows forms:
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?

Re: WM5 VS2008 sdf Database deployment option RobinS
3/26/2008 12:13:10 AM
How are you deploying your application? Are you using ClickOnce? Or a setup
& deployment package?

RobinS.

[quoted text, click to view]
Re: WM5 VS2008 sdf Database deployment option SteveS
3/26/2008 4:41:23 AM
While in V2008, I click the Green Start Debugging button and it deploys
directly to the Device Emulator.
--
SteveS


[quoted text, click to view]
AddThis Social Bookmark Button