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

  • Home
  • SEARCH
  • 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 1023621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:39:11+00:00 2026-05-16T11:39:11+00:00

I am using Google Code to host my C# project. It has a solution

  • 0

I am using Google Code to host my C# project. It has a solution with one class library and one test project. I am using Visual Studio 2010.

The client I am using is TortoiseHG.

In Windows Explorer, first I cloned an empty folder and got the .hg files inside of it so that it is associated with my hosted code. Now, I created a new C# project and copies all files inside my root source code controlled folder. I will work on it hereafter.

When committing, there are lots of files and folders inside my solution folder and not all of them are code. Usually I just build and take out the EXE or DLL and never really bothered with other stuff. Now I feel not all files and folders are important for source code control.

I am really new to source control.

Which files/folders should go into source control, apart from the actual code files themselves?

  • 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-05-16T11:39:11+00:00Added an answer on May 16, 2026 at 11:39 am

    Good question! The rule of thumb that I use is the following:

    1. Check in all files in the folder to have a complete tree
    2. Work a bit with this and notice the Pending Checkins
    3. The files that are pending but you haven’t touched are Visual Studio files that are updated while you work to keep settings of the project.
    4. Careful now: the *.sln, *.csproj and other project files will change as well, these must be checked in.
    5. Other files, esp. the ones that “look” binary (in the obj dir and the *.suo file for instance) can be marked for the exclusion list.

    You may decide to include the built versions of the DLL or EXE, but this is not necessary, as anybody loading your project can built it. Now, the next step is:

    • After you worked a bit and think you’ve created a stable file list, get the whole project to another location and compile immediately. Does it work? Does it miss files?

    If this last step works (and you should check it on a regular basis), you have a solid basis for your files.

    Note: some tools support Visual Studio from within and know what files should or should not be included, i.e., for SVN I know that VisualSVN does a rather good job of skipping the unneeded files.


    Two more rule of thumbs (oh, three, actually):

    • Be specific in what you exclude, be liberal in what you include: it is better to include too much than too little;
    • A few extensions that can safely be excluded: *.user (root of any project), \obj\** (all under the temporary obj-folder), *.vspscc and *.vssscc (root of project), *.suo and depending on your preferences: \bin\**.
    • Oh, and for website projects, these may contain or add a PrecompiledWeb directory to your solution, which you really don’t want to check in: exclude all here.

    EDIT: this question on SO has a very extensive list of files to ignore of Visual Studio.

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

Sidebar

Related Questions

I'm using Google Code to host my application code, its conveniant and the SVN
I'm using Google Code to host some of my hobby projects. I want to
When using Google Chrome, I want to debug some JavaScript code. How can I
I am using Google Apps for domain to host the email from my domain
I'm currently messing with google's apis using ajax trough jquery library. In order to
Using google's Protocul Buffers , I have a service already written in Java which
When using Google Reader and browsing RSS entries in the Expanded view, entries will
Have just started using Google Chrome , and noticed in parts of our site,
I'm using Google App Engine and Django templates. I have a table that I
We are using Google Charts for render the chart images, but 500 requests/day became

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.