[Last Call] Learn how to a build a cloud-first strategyRegister Now


problem updating reference in my web app

Posted on 2008-11-17
Medium Priority
Last Modified: 2013-11-26
I recently just upgraded to VisualStudio 2008 and noticed that the 'update reference' is now gone when right clicking on an assembly in the bin folder of a web application project.  

For example, I created a class library project, compiled and added the reference in my web application project.  After modifying the class library project and re-compiling, the changes aren't getting picked up in my web app project.  I don't see how to update the reference.  I tried removing the reference and re-adding, but it still does not pick up the changes I made.  I don't know what is going on?

What am I missing?  How do you update a reference to an assembly in a web application project?

Thanks for any help.
Question by:-Dman100-
  • 2
  • 2
LVL 22

Accepted Solution

prairiedog earned 2000 total points
ID: 22977114
It should pick your updated dll in your application. If for any reason it didn't pick it up, try a "Clean Solution" under the "Build" menu.

Author Comment

ID: 22977485
I noticed that many of the changes I had made to the dll in my application were automatically updated.  However, last night, I made some changes such as adding [System.ComponentModel.DataObject] to my business logic classes with the DataObjectMethodAttribute attributes to the methods in my classes so that they would recognized by the ObjectDataSource control as bindable.  Those changes weren't immediately picked up.

Then when I modified and added some new methods to my classes, those weren't and still haven't been updated in my web application project.  I've re-compiled and the assembly compiles fine, but the web app doesn't see the new changes.

I'll give the Build >> Clean Solution a try this evening when I get back to my home office.  I'll report back and let you know if that resolves the issue.

Anything else I should try if for whatever reason that does not work?

Thanks for the help.
LVL 22

Expert Comment

ID: 22977565
Maybe close and reopen the project? Sounds silly but who knows? It might just be a cache issue.

Author Comment

ID: 22981219
Hi Priariedog,

I tried a Build >> Clean Solution but that sitll didn't update the reference to my dll...strange?

I removed the reference completely and deleted the dll and pdf file out of the bin folder and then re-added the reference to the dll.  That finally picked up the changes.

I hope I don't have to do that all the time.

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month18 days, 11 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question