Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Files actually to be committed in source control

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 175
    Comment on it

    Hello Reader,

    In Visual Studio, while you are working on a project. Many files i.e. source files and visual studio generated files etc are present in the directory of project on your machine. If you want to use source control,  there is always a good practice to commit only those files which are related to your project source files, not related to build the output of project. This means commit everything except for your \bin and \obj directories (and the files in them). output.

    Do commit:

    1. Source files (*.cs, *.vb) and folders
    2. Resources (XML, CSS, resx, ini files...)
    3. Non-generated binaries (images, icons, sounds, videos..)
    4. Properties folder
    5. .csproj & .sln file

    Don't commit:

    1. The \bin directory
    2. The \obj directory
    3. .suo and .user files
    4. Compiled files (exe, dll, jar)
    5. Generated source files
    6. Machine configuration specific files

    Hope, it helps

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: