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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:23:56+00:00 2026-06-18T02:23:56+00:00

In a web site I have a reference to a class library assembly. When

  • 0

In a web site I have a reference to a class library assembly. When I add something to the source code and build the solution the update does not reflect to the bin folder of the web site. I first thought dll refresh did not work so that the dll in my bin folder was not updated to the latest version. But then I found two things that seem weird:

  1. I have a public struct inside which are number of public const string fields. If I change the name of any of those fields and build solution, the change does not get reflected on the web site side. However if I select that field name, right click on it and choose “Rename oldname to newname” and then build, it works.
  2. When I add another public const string field and build the solution, the update does not get reflected.

Is this a know bug with VS2012 or is this an intended feature? I can understand the first case. But the second case absolutely seems to be a bug and there’s nothing like intended feature. I wanted to check with SO before reporting this to VS team as a bug.

I did not use to have this problem with Visual Studio 2010 ultimate. The current one I’m using is Visual Studio 2012 Ultimate

  • 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-18T02:23:57+00:00Added an answer on June 18, 2026 at 2:23 am

    This definitely seems to be a bug. I’ve already reported this to Visual Studio team. But for the ones who suffer from this bug I have a solution until the bug is fixed.

    1. Remove the reference from the bin folder. (x.dll, x.pdb, x.dll.refresh and x.XML files where x is the name of the referenced project.)
    2. Select your web site or project, right click and click Add reference
    3. This is the part that made a difference. On the left pane select Solution||Projects. Click Browse at the lower right side of the window if the project you want to reference is not in the list on the middle pane and navigate to that project, it’ll come to the list. Check the box and click OK. I used to select Browse (not Solution||Projects) and reference directly the dll file. What you will notice with the first (working) option is x.dll.refresh file is missing. I know it sounds weird but I don’t know how and why the referenced dll is updated when this file is missing.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a solution containing 4 class library projects and one web site project.
Within my Visual Studio solution I have a web site and 4-5 class library
I have the following setup: ASP.net 3.5 Web Site Project C# Class Library with
I have a deployed web application project that references my Utility.dll class library. I
I have a solution with a website and a class library. I have renamed
So, if I have website project Foo which has a reference to class library
I have an ASP.net Web Site Project (.net 3.5). Currently all of the non-code
i have a .NET 3.5 solution with an asp.net(web site) project with fluentnhibernate and
I have an asp.net website with a reference to a class library. I can
I have a asp.net website and a class library as a project reference. In

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.