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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:15:31+00:00 2026-06-13T11:15:31+00:00

I currently use the answer to a similar question for Visual Studio 2010 as

  • 0

I currently use the answer to a similar question for Visual Studio 2010 as my go to hgignore file. Are there any notable additions to include with VS2012?


Below is a compiled list from many different sources. Gist here.

I have found that projects upgraded from VS2010 have a lot of backup and upgrade log files not required.

# use glob syntax
syntax: glob

*.obj
*.pdb
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.[Cc]ache
*.ilk
*.log
*.lib
*.sbr
*.scc
[Bb]in
[Dd]ebug*/
obj/
[Rr]elease*/
_ReSharper*/
[Tt]humbs.db
[Tt]est[Rr]esult*
[Bb]uild[Ll]og.*
*.[Pp]ublish.xml
*.resharper

# For projects upgraded from VS2010
[Bb]ackup/
_UpgradeReport_Files/
UpgradeLog.*

*.opensdf
*.sdf
ipch/
x64/
  • 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-13T11:15:32+00:00Added an answer on June 13, 2026 at 11:15 am

    By pulling from this previous answer about Visual Studio 2010, from this response in this question, and this wonderful citation I compiled this listing:

    ############################################################
    ## Visual Studio 2012
    ############################################################
    syntax: glob
    
    ## User-specific files
    
    *.suo
    *.user
    *.sln.docstates
    
    ## Build results
    
    [Dd]ebug/
    [Rr]elease/
    x64/
    build/
    [Bb]in/
    [Oo]bj/
    
    ## MSTest test Results
    
    [Tt]est[Rr]esult*/
    [Bb]uild[Ll]og.*
    *_i.c
    *_p.c
    *.ilk
    *.meta
    *.obj
    *.pch
    *.pdb
    *.pgc
    *.pgd
    *.rsp
    *.sbr
    *.tlb
    *.tli
    *.tlh
    *.tmp
    *.tmp_proj
    *.log
    *.vspscc
    *.vssscc
    .builds
    *.pidb
    *.scc
    
    ## Visual C++ cache files
    
    ipch/
    *.aps
    *.ncb
    *.opensdf
    *.sdf
    *.cachefile
    
    ## Visual Studio profiler
    
    *.psess
    *.vsp
    *.vspx
    
    ## Guidance Automation Toolkit
    
    *.gpState
    
    ## ReSharper Ignores
    
    _ReSharper*/
    *.[Rr]e[Ss]harper
    
    ## TeamCity Ignores
    _TeamCity*
    
    ## DotCover Ignores
    
    *.dotCover
    
    ## NCrunch Ignores
    
    *.ncrunch*
    .*crunch*.local.xml
    
    ## Installshield output folder
    [Ee]xpress/
    
    ## DocProject Ignores
    
    DocProject/buildhelp/
    DocProject/Help/*.HxT
    DocProject/Help/*.HxC
    DocProject/Help/*.hhc
    DocProject/Help/*.hhk
    DocProject/Help/*.hhp
    DocProject/Help/Html2
    DocProject/Help/html
    
    ## Click-Once Ignores
    
    publish/
    
    ## Publish Web Output
    
    *.Publish.xml
    *.pubxml
    
    ## Windows Azure Build Ignores
    
    csx
    *.build.csdef
    
    ## Windows Store Ignores
    
    AppPackages/
    
    ## RIA/Silverlight projects
    
    Generated_Code/
    
    ## SQL Server Ignores
    
    App_Data/*.mdf
    App_Data/*.ldf
    
    ## Backup & Report Files when converting a solution
    ## Not required, we have mercurial!
    
    _UpgradeReport_Files/
    Backup*/
    UpgradeLog*.XML
    UpgradeLog*.htm
    
    ## NuGet
    packages/
    
    ## Miscellaneous Ignores
    
    sql/
    *.Cache
    ClientBin/
    [Ss]tyle[Cc]op.*
    ~$*
    *~
    *.dbmdl
    *.[Pp]ublish.xml
    *.pfx
    *.publishsettings
    
    ## Windows Ignores
    
    $RECYCLE.BIN/
    Thumbs.db
    ehthumbs.db
    Desktop.ini
    

    This is currently working great in my repositories.

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

Sidebar

Related Questions

I currently use: BufferedReader input = new BufferedReader(new FileReader(filename)); Is there a faster way?
I currently had a problem similar to this previous question: Why would our Java
This is similar to a previous question , but the answers there don't satisfy
How can I pass a map by reference into a function? Visual Studio 2010
I saw many similar question, but still not found the answer. How should look
I currently use Zend_Db to manage my queries $stmt = $db->prepare(INSERT INTO test (ID_Test)
I currently use Devise 2.1 + Rails 3.2.x to authenticate users. I'm also going
I currently use the rectangle shape xml tag to specify borders for my views
I currently use a combination of LVL and Proguard as a first line of
I currently use mysql_real_escape_string to escape a variable when querying the database to prevent

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.