?
Solved

My Class Project References are not Updating

Posted on 2013-06-16
4
Medium Priority
?
430 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
Minh Võ Công earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

752 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