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 7826083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:15:40+00:00 2026-06-02T09:15:40+00:00

I recently pushed a Visual Studio C++ project to github. I’ve noticed that VS

  • 0

I recently pushed a Visual Studio C++ project to github. I’ve noticed that VS creates a .sdf file that’s relatively large (~25MB). I tried deleting this file in my workspace to see whether or VS would throw an error. Upon open the project in VS no errors where reported and it the file was recreated. I’m considering, therefore, removing the .sdf file that’s currently in my repository and adding an *.sdf entry to the repo’s .gitignore file.

The consequence of this is that when a user pulls the contents of the repo and opens it in Visual Studio for the first time, VS will have to generate the .sdf file. However, if a user pulls changes from the repo made by another user, could the .sdf get out of sync, and if so, does anyone know if VS would handle this in a sensible way (e.g. regenerating the .sdf file)? Could there be other implications that I’m not aware of?

Any input would be much appreciated!

  • 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-02T09:15:41+00:00Added an answer on June 2, 2026 at 9:15 am

    It looks like *.sdf are usually included in .gitignore files,; as illustrated in “.gitignore for Visual Studio Projects and Solutions“, but also on the GitHub gitignore project.

    One potential effect can be regarding some local modifications being overriden: see “Local Data Cache Sync does not save client changes to sdf file“.

    But other than that, ignoring cache file from a source control repository is a good practice.

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

Sidebar

Related Questions

Recently I noticed (after others have extended the project) that the compile time significantly
Recently there is a lot of projects that pushes Javascript into other directions: as
Recently I made a git repo out of directory that already contained two git
I've recently pushed a Django app live. We built the app in a staging
Recently I have started to implement new experimental feature for my project. Unfortunately I
I'm a Git newbie. I recently moved a Rails project from Subversion to Git.
I work with a small team that uses git for source code management. Recently,
I work with a small team that uses git for source code management. Recently,
Recently I found about this tool easy_install that help me to easy install additional
Recently my Project manager asked to write comments, summary and #regions for all the

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.