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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:49:16+00:00 2026-05-26T19:49:16+00:00

I have a website project. It has assembly references to external DLLs that we

  • 0

I have a website “project”. It has assembly references to external DLLs that we update from time to time (a “framework” of sorts). Visual Studio 2008 happily creates the “refresh” files that it uses to update references at compile time.

I made an addition to an enum in the external assembly and recompiled it. Back in the website project, I updated the reference (both by right-clicking the external DLL that’s listed under the “Bin” folder and choosing “Update Reference” and by going into the Property Pages for the website and on the References page, highlighting my external assembly and clicking the “Update” button.

There’s a class in the website’s App_Code folder that I made some changes to that use the new enum value from the external assembly. Intellisense picks up the new addition and the IDE does not complain about me using it at all — until I try to build the solution.

Upon building the solution, I get an error BC30456, which is a “‘{0}’ is not a member of {1}” error. The error stays in the “Error List” view and on the “Output” window until I once again Update the reference to the external assembly, after which the error goes away immediately.

If I remove the reference from the project completely, VS correctly starts complaining about missing the enum type and warns that the namespace I’m trying to import cannot be found. When I re-add the assembly reference, after a few seconds all of the errors and warnings go away. Upon the first attempt at rebuilding the solution and/or the website, I get the error again.

I’ve tried to confirm I’m not crazy by doing these tasks:

  1. Cleaning out the Temporary ASP.NET files folder for the website, both 32-bit and 64-bit versions of the Framework
  2. Manually copying the assembly from the external location straight into the Bin folder
  3. Closing and reopening Visual Studio
  4. Restarting the computer

The ONE thing that I just noticed now is that the external DLL was last built on 11/14/2011. When that version of the DLL is in the Bin folder, Intellisense is accurate. As soon as I try a build, the DLL and PDB revert to an 11/7/2011 build. I do not know where this is coming from. Both the DEBUG and RELEASE builds of that DLL on this machine are for 11/14. The DLLs are not checked in to our source control system, only the .refresh files are, so it can’t be updating them from the source control server.

I’m really, truly, stumped, and looking for any ideas you may have.

  • 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-26T19:49:17+00:00Added an answer on May 26, 2026 at 7:49 pm

    And of course I figure it 5 minutes after asking the question…

    The website project has another external assembly reference (B) which depends on the one I was having trouble with (A). Upon build, while it was updating reference B, it was overriding reference A’s DLL from the location in the .refresh file with the DLL from the bin folder of where B was built, which happened to be the 11/7 build.

    Updating reference A copied the correct DLL into the Bin folder. Updating reference B overrode it at compile time.

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

Sidebar

Related Questions

I have a website project that has more than 50,000 unimportant files (to development)
I have a website project that has been subversioned already. I have installed ankhsvn
We have a updatable web site project that is written in c#, it has
I have a Website project that I'm trying to debug using Fiddler. Fiddler doesn't
I have a website project that I want to build using CruiseControl.net. On one
So, if I have website project Foo which has a reference to class library
In my website, I have a node type called Project. Node type Project has
i have 4 project in my solution, framework , domain objects,business objects and website
I have recently installed a website project on Azure and that was relatively easy
I have a web site project with a lot of files, it has become

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.