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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:59:36+00:00 2026-06-18T14:59:36+00:00

My ASP.NET website references refresh files that are being excluded because they reside in

  • 0

My ASP.NET website references refresh files that are being excluded because they reside in the ...\bin\ directory of projects.

What can I add to my .hgignore file to ensure just the ...\bin\*.refresh files are NOT excluded?

Note: I understand I could use hg add ...\bin\my.dll.refresh for each of the references and continue with my .hgignore, but I’d like to avoid needing to manually add specific files types as this is error prone and easy to forget.

# use glob syntax
syntax: glob

# Ignore Visual Studio 2008 files
src/**.obj
src/**.exe
src/**.pdb
src/**.user
src/**.aps
src/**.pch
src/**.vspscc
src/**_i.c
src/**_p.c
src/**.ncb
src/**.suo
src/**.tlb
src/**.tlh
src/**.bak
src/**.cache
src/**.ilk
src/**.log
src/**.lib
src/**.sbr
src/**.scc
src/***/[Bb]in      <---- Problem child
src/***/[Dd]ebug*/
src/***/obj/*
src/***/[Rr]elease*/
src/*_ReSharper*/
src/*[Tt]est[Rr]esult*
src/*[Bb]uild[Ll]og.*
src/*.[Pp]ublish.xml
src/***/PrecompiledWeb/
  • 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-18T14:59:37+00:00Added an answer on June 18, 2026 at 2:59 pm

    For “all except some names” you must use:

    • regexp pattern
    • add negative lookahead in regexp “all files”(get “all except in this subset” as result)

    syntax: regexp

    bin/(?!.*\.refresh$).+

    in any case, check and debug this expression, using filenames with pattern bin\*.*refresh* and hg status command

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

Sidebar

Related Questions

I have a ASP.NET website that references another project with contains as resx file.
I have a ASP.NET website deployed to IIS with a couple of ashx that
I have asp.net 4 webforms website which references PortableLibrary project. In the website I
I have an asp.net website which contains a few pages that I'd like to
In my ASP.NET 4 website most of source paths/references look like ~/Controls/etc.. When I
I have a C#.net class library that references a folder and the files in
I created a DataSet in VS2010 and try to build a ASP.NET website that
I have an ASP.NET website project that until recent had all code in App_Code
I have ASP.net website. In App_Code folder I have class that has extension methods.
A friend and I are working on a ASP.NET website and that friend decided

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.