473,387 Members | 1,771 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,387 software developers and data experts.

DLL not gets updated

sagark
12
I have one Vb.net project. When I done some changes in the code and tried to build the project, the project dll not gets updated. It is still working as per old code. Any idea?
Jan 19 '09 #1
10 1458
Plater
7,872 Expert 4TB
What does the output of your build message say?
Jan 19 '09 #2
sagark
12
All the things works perfectly. I got the message as 'Build Succeeded.' But when I refer the same dll in other project, the code from the dll works as per old one.
Jan 19 '09 #3
Plater
7,872 Expert 4TB
In the project, did you remove the reference to the DLL and then re-add it?

And how did you reference it? Did you reference it as a "project"? If not, are you referencing a "release" version and are now creating the DLL as a Debug version (or vice versa)
Jan 19 '09 #4
sagark
12
Yeah...I have deleted the reference and added new one for updated dll but still the problem persists. I added reference as a dll not as a project. Also the in my vb project there is only debug folder inside which there is an updated dll file.
Jan 19 '09 #5
Frinavale
9,735 Expert Mod 8TB
Is the DLL unmanaged code or managed code?

Did you un-register and then re-register the DLL before you re-referenced it in your project?
Jan 19 '09 #6
vekipeki
229 Expert 100+
Maybe your assembly somehow got into Global Assembly Cache? You can use GacUtil /L YourAssemblyName to see if it's there.

You can also try to get the assembly path using Reflection:

Expand|Select|Wrap|Line Numbers
  1. System.Reflection.Assembly assembly =
  2.    System.Reflection.Assembly
  3.    .GetAssembly(typeof( /* any class in that assembly */ ));
  4.  
  5. MessageBox.Show(
  6.    String.Format("Assembly {0}, location = {1}",
  7.    assembly.ToString(), assembly.Location));
Jan 20 '09 #7
sagark
12
Hey...this works. I found my DLL in assembly cache. Thank you all for your help.
Jan 21 '09 #8
Plater
7,872 Expert 4TB
Is this DLL used in a webpage or web application of any sort? Because that would explain how it ended up in the GAC
Jan 21 '09 #9
sagark
12
The dll is used in web site application.
Jan 21 '09 #10
Plater
7,872 Expert 4TB
Ahh ok. That would be a pivital piece of information.
DLLs loaded with webapplications end up in the GAC and frequently don't get updated once they are in there
Jan 21 '09 #11

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

Similar topics

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...
3
by: Jurgen Appelo | last post by:
I asked this question earlier, but unfortunately the two replies I got did not solve the problem. Here it is again, but now with the code: After an Update my FormView always loses its viewstate...
0
by: Jayender | last post by:
I read an article : MSDN help topic. This will get you on the right track. http://msdn2.microsoft.com/en-us/library/system.web.caching.sqlcachedependency.aspx and its really amazing .. I tried...
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...
5
by: libsfan01 | last post by:
Hi all Im trying to write a script that pulls data from another page (which is getting data from a db). The contents displayed on the db handling page (display.php) gets transferred through...
2
by: pankajit09 | last post by:
Hello, Suppose I create a view by merging two tables. Then will the view get updated if the data present in the underlying tables get updated ?
0
by: KrazyKoder | last post by:
Hello, I have MS Access form that basically allows the user to configure an update statement to a single table via the gui. A requirement is to show the count of records that will be updated...
104
by: jayapal | last post by:
Hi all, Whenever I use the gets() function, the gnu c compiler gives a warning that it is dangerous to use gets(). why...? regards, jayapal.
1
by: fabian.lim | last post by:
Hi all, Im having a problem with my code. Im programming a vector class, and am trying to overload the () operator in 2 different situations. The first situation is to assign values, e.g. Y =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.