Solved

My Class Project References are not Updating

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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 …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 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