473,388 Members | 1,340 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Why the dll is not updated in vs-2008?

Hi Friends,

I am using a web application which is recently Converted from vs-2003 to vs-2008.Here whenever i build this application, the related dll in bin folder is not updated. what may be the reason? how can i overcome this? I need this recently modified dll to be used in main project.Can you please guide?

Thanks in Advance
Prasad.
Feb 23 '10 #1
8 3966
ThatThatGuy
449 Expert 256MB
make sure that the project which is building the dll and the project which is using the dll are in same solution
Feb 23 '10 #2
sashi
1,754 Expert 1GB
Check the .dll path & reference, good luck :)
Feb 23 '10 #3
Thanks for ur replies..

I tried ur suggestions but still the dll is not updated.
Feb 23 '10 #4
tlhintoq
3,525 Expert 2GB
Before you Build, right-click on the solution and choose "Clean solution"
That should delete all compiled code.

Now check the output directory again. Is the compiled DLL gone? If it's not, that's because its not really part of that solution. Someone just dropped it in there for use by some of the code they've written.

Now that everything has been cleaned, Visual Studio has no choice but to compile a new one for you.

You *are* increasing the version numbers in the assembly properties for these - right? If you aren't, it would see no reason to make a new one.
Feb 23 '10 #5
Frinavale
9,735 Expert Mod 8TB
The DLL that isn't updated...is it an unmanaged/COM code?
These DLLs are not automatically updated (ever) and you will have to update them manually....usually this involves re-registering the new version of the DLL and then re-referencing it in your application so that a new Interop class is generated to use the new DLL.

-Frinny
Feb 23 '10 #6
thanks friends for ur replies.

But here in vs-2008... once the web application which was created in vs-2003 is converted to vs-2008 becomes website.[Initially its a Project , After Conversion if you commit this project and checkout it becomes website] . Bcoz of this, the newly updated dll is created in App_code folder (in some other Location) instead of bin folder and also the dll name will be different.
Feb 24 '10 #7
JamieHowarth0
533 Expert 512MB
That's a nasty little snag I wasn't aware of. Thanks for bringing it to my attention, I'll bear it in mind for future upgrades from legacy projects :-)

codegecko
Feb 24 '10 #8
Frinavale
9,735 Expert Mod 8TB
Hmm I never experienced that problem when upgrading my projects...strange
Feb 24 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Eric Robishaw | last post by:
In VS.net 2003, my recent files list will not update the Date. If I open a project from the list, modify it and close... the next time I load VS.net, the project shows the same old date. It...
2
by: Cristof Falk | last post by:
Can someone tell me the right way to get an updated .NET DLL (written in C#) or control for an ASP.NET application? I have copied the executable to the <project>/bin on the web server. I then...
1
by: xxnonexnonexx | last post by:
I use the following piece of code to show when the page thats being accessed was last updated: <!-- var modified = new Date(document.lastModified); document.write("<b>Last Updated:<i>...
1
by: Amos | last post by:
My Solution has three different projects: GUI, Api, Match. Project GUI includes a reference to Match.dll and Project Match includes a reference to Api.dll . Project Api doesn't include any...
12
by: Jim Hammond | last post by:
I am passing the whole object instead or parameters in my select and update methods. I can get the updated object if I set UpdateMethod, let ASP.NET autogenerate an update button, and then press...
5
by: Howard Kaikow | last post by:
Why cannot MSFT publish correct/updated info in MSDN and KB? It is to MSFT's advantage to encourage us to migrate old code, and develop new code, with .NET, so they need to take extra care when...
2
by: nowandever29 | last post by:
I've got an asp.net 1.0 web form, which has a ton of fields. I am NOT using data binding. I programmatically create a data adapter and load the values into a table, then populate the fields on...
8
by: Keith | last post by:
I try to learn SQL by figuring out things. I want to make a listing of all records that were changed in the last... 1, 6, 12 hours/days. I have a field called 'updated' managed like: UPDATE...
6
by: Daniel | last post by:
Do any microsoft buildtime dependancies C#/C/c++/VB/etc. need to be updated for the 2007 policy on daylight savings time? I know the OS needs to be updated but I care now about C libraries, .net...
2
by: FrobinRobin | last post by:
Hi I need to create a list that is updated whenever a change occurs in the database. I first used Ajax to poll a part of the page and query the database every 5-10 seconds, downloading the data...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.