Solved

My Class Project References are not Updating

Posted on 2013-06-16
4
424 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 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

17 Experts available now in Live!

Get 1:1 Help Now