• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

My Class Project References are not Updating

I have a web application project that I am building in parallel with a Class Solution which has many projects underneath it.  I am pretty much making a bunch of projects so that I can organize them almost like the .Net Framework.  Each Class Project has methods and functions that work against a database.  The problem that I have run into recently is that the website has stopped referencing my updated class projects.  Even though I update the references with the project.dll from the class project, the newly updated functions or methods are not being shown in my web application project.  What am I doing wrong or why am I running into this problem?  How can I solve this and is there a fix for stopping this from happening if I have this issue again?  Thanks!
0
VBBRett
Asked:
VBBRett
  • 2
  • 2
1 Solution
 
Minh Võ CôngCommented:
You should rebuli all your solution (Alt +B, R) when you update dll in your reference. or set Dependency http://msdn.microsoft.com/en-us/library/ms752914.aspx
0
 
VBBRettAuthor Commented:
Rebuilt all and still nothing has changed.
0
 
Minh Võ CôngCommented:
You have set your web app project depend on other project in your solution?
0
 
VBBRettAuthor Commented:
Ahhh, I found the reason why.  Yes, I did set my web app to be dependant on another project.  Here is what I did:

I did a search on my PC for the dll or class file and it appears that the .cs file was out of place and located in one of my subfolders.  Since the .cs file was out of place and in a subdirectory of my web app, it overpowered the dll in the bin directory so any reference to that class was superceded by the .cs file.

After I deleted the .cs file in my sub folder, everything just fell into place.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now