Solved

My Class Project References are not Updating

Posted on 2013-06-16
4
423 Views
Last Modified: 2013-06-17
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
Comment
Question by:VBBRett
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
Minh Võ Công earned 500 total points
ID: 39253258
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
 

Author Comment

by:VBBRett
ID: 39253527
Rebuilt all and still nothing has changed.
0
 
LVL 15

Expert Comment

by:Minh Võ Công
ID: 39253542
You have set your web app project depend on other project in your solution?
0
 

Author Comment

by:VBBRett
ID: 39253690
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now