Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8260869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:12:12+00:00 2026-06-08T03:12:12+00:00

I using a sql-server compact database within a c# winform project. If I look

  • 0

I using a sql-server compact database within a c# winform project.

If I look at the files that make up the solution I can see a copy of the exe and the sdf file in both of the following folders:

  1. /bin/Debug/
  2. /bin/Release/

If I double-click and exe in 1. then it updates the sdf in 1. and likewise for the exe/sdf in 2.

When I open VS I assume I’m playing around with the files in 1. ?

When do the files in 2. get overwritten ?

When I publish the project using a Click-Once install which files are being used to create the .application file ?

ADDITION

The generic post above hasn’t solved my problem but it has somewhat confused things further. Here is the specific scenario which I was hoping answers to the above would solve:

The development Solution folder is saved on a USB pen drive.
This Solution includes a database file.
I have publish to my home PC
I have published to my work PC.
I’m happy carrying the pen drive around and plugging in to either PC.
How do I set things up so that if I update the database only one version of the data exists?

I’ve changed the solution to Expert Settings and exposed the configuration manager – can this help?:

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T03:12:15+00:00Added an answer on June 8, 2026 at 3:12 am

    What is the difference between Debug and Release in Visual Studio?
    http://msdn.microsoft.com/en-us/library/kkz9kefa(v=vs.110).aspx

    those are two diffrent configurations of the project.

    and those are built into diffrent folders

    the clikc once files are probably based on what is the current ACTIVE CONFIGURATION

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using MS SQL Server compact edition within a project. The client has
I'm wondering what the key differences between using a SQL Server Compact database (
My company is using SQL Server Compact to store and manage a local database
I had a program working with a database I created using SQL Server Compact
I was using SQL Server Compact Edition (local-database) for my application. But while I
I am using Linq to Sql against a SQL Server Compact database. I need
I am using LINQ to SQL with Sql Server Compact Edition 3.5 and VS2008.
I am using SQL Server CE 3.5 and C# with the .NET Compact Framework
Using SQL Server 2005 I have a query that gets child records from bundles
I'm uploading a SQL Server CE compact database file from a Windows Mobile application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.