Greetings...
I have an odd problem to do with replacing a DLL.
My ASP.NET application makes use of a 3rd party charting component.
This component is supplied as a DLL file.
The component has worked well for us, but now I am having real problems
trying to replace the DLL with a new version.
To implement on my development machine, I am simply attempting to copy
the new version into the bin directory after deleting the old version.
However, everytime I run the application (or when I restart Visual
Studio I think)... magically the old version of the DLL is copied into
the bin directory over my new version.
Even if I completely delete all versions of the DLL from the bin
directory... somehow the old DLL reappears !
I saw somewhere that you have to be careful to rename old backups such
that they don't have a DLL extension .. but I don't even have a backup
in the directory.
Am I missing some basic knowledge here to do with .NET DLL
implementation ?
Can anyone please help ?
Thank you ,
Bazza 5 5100
See if the old version is still here:
C:\WINDOWS\asse mbly
and remove it
I had this problem with Syncfusion components.
--
Robbe Morris - 2004/2005 Microsoft MVP C# http://www.masterado.net
"Bazza Formez" <br**********@i hug.co.nz> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. . Greetings...
I have an odd problem to do with replacing a DLL.
My ASP.NET application makes use of a 3rd party charting component. This component is supplied as a DLL file.
The component has worked well for us, but now I am having real problems trying to replace the DLL with a new version.
To implement on my development machine, I am simply attempting to copy the new version into the bin directory after deleting the old version. However, everytime I run the application (or when I restart Visual Studio I think)... magically the old version of the DLL is copied into the bin directory over my new version.
Even if I completely delete all versions of the DLL from the bin directory... somehow the old DLL reappears !
I saw somewhere that you have to be careful to rename old backups such that they don't have a DLL extension .. but I don't even have a backup in the directory.
Am I missing some basic knowledge here to do with .NET DLL implementation ?
Can anyone please help ?
Thank you ,
Bazza
When you add a reference to a third-party assembly in your VS.Net project you
can specify whether the assembly should be copied locally every time you
compile your project or not. Right-mouse click on the assembly in the
references, then in the properties window either change the path to the new
version's path or set the "Copy Local" property to False.
--
HTH,
Phillip Williams http://www.societopia.net http://www.webswapp.com
"Bazza Formez" wrote: Greetings...
I have an odd problem to do with replacing a DLL.
My ASP.NET application makes use of a 3rd party charting component. This component is supplied as a DLL file.
The component has worked well for us, but now I am having real problems trying to replace the DLL with a new version.
To implement on my development machine, I am simply attempting to copy the new version into the bin directory after deleting the old version. However, everytime I run the application (or when I restart Visual Studio I think)... magically the old version of the DLL is copied into the bin directory over my new version.
Even if I completely delete all versions of the DLL from the bin directory... somehow the old DLL reappears !
I saw somewhere that you have to be careful to rename old backups such that they don't have a DLL extension .. but I don't even have a backup in the directory.
Am I missing some basic knowledge here to do with .NET DLL implementation ?
Can anyone please help ?
Thank you ,
Bazza
Thanks for that Phillip...
I checked the property of the DLL in references.. and yes, copy local
was set to true. But the path to the DLL was correctly pointing at
where the new version of the DLL was anyway.
(BTW What does this local copy flag mean actually ? Copy from where &
to where ?).
I eventually managed to solve the problem by deleting other occurrences
of the DLL on my machine ... problem ones seemed to be in some temp
directories used by IIS.
Bazza.
Thanks Robbe. Please read my reply to Phillip below.
Hi Bazza,
"Copy Local" set to true would cause the DLL to be copied from the location
indicated in the "path" to the local bin folder. http://msdn.microsoft.com/library/de...ecopylocal.asp
--
HTH,
Phillip Williams http://www.societopia.net http://www.webswapp.com
"Bazza Formez" wrote: Thanks for that Phillip... I checked the property of the DLL in references.. and yes, copy local was set to true. But the path to the DLL was correctly pointing at where the new version of the DLL was anyway. (BTW What does this local copy flag mean actually ? Copy from where & to where ?).
I eventually managed to solve the problem by deleting other occurrences of the DLL on my machine ... problem ones seemed to be in some temp directories used by IIS.
Bazza.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Thomas |
last post by:
It looks like the String.replace doesn't work in IE6.1. Anyone else
has the same problem. I am using newest service package of IE and
Win2K.
Thanks
|
by: pembed2003 |
last post by:
Hi all,
I asked this question in the C group but no one seems to be interested
in answering it. :-( Basically, I wrote a search and replace function
so I can do:
char source = "abcd?1234?x";
char search = '?';
char* replace = "***";
char* result = search_and_replace(source,search,replace);
|
by: baustin75 |
last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie
only when debugging in php designer 2005
--------------------------------------------------------------------------------
Hello,
I have a very simple problem but cannot seem to figure it out. I have a
very simple php script that sends a test email to myself. When I debug
it in PHP designer, it works with no problems, I get the test email. If
|
by: Marc |
last post by:
Hi!
I'm working with a C# client that calls a php web service. I've
created a wrapper to call the service using .NET wsdl tool (adding a
web reference).
The call to the server works fine, it is serialized correctly, and the
server returns a response (I've captured the response and it's
correct!) but when the .NET deserialize this response, it throws the
exception "System.InvalidOperationException: There is an error in XML
|
by: danielle.m.manning |
last post by:
I have a question about a problem I am having with attempting to port
some old ASP code to ASP.NET.
We have a dll out there which we downloaded which creates GUIDs for
session management. In ASP, the function looks like this:
Function getGuid()
Dim sessionDUID
Dim MyGuid = Server.CreateObject("GuidMakr.GUID")
Dim mySession = Replace(MyGuid.GetGUID, "{", "")
| |
by: simon |
last post by:
I'm developing a large project in Access with 3rd party control and
custom dlls and sometimes I'm unable to close Access- clicking on the
close button removes it briefly but it reappears. I have to use Task
Manager to get it to close down. In this state I can't compact and
repair either - I get the message "You attempted to close a database
that is already opened exclusively by User 'Admin". Importing all the
tables, forms, etc into a...
|
by: pamelafluente |
last post by:
I need to replace all the occurences of a string within another string
(or stringbuilder):
Function ReplaceInsensitive(ByVal InputString As String, _
ByVal SubstringReplaced As
String, _
ByVal Replacement As
String) As String
'...
End Function
|
by: Patrick |
last post by:
I have set the Navigation Pane so that it is not displayed on startup
of my application. However, if I programmatically link to an external
Access table, the navigation pane automatically reappears. Is there
any way to avoid this? I am using the code below to link the external
table.
DoCmd.TransferDatabase A_ATTACH, "Microsoft Access", sourceDBName,
A_TABLE, sourceTableName, destTableName
|
by: cart1443 |
last post by:
So I know I need to add a few more lines somewhere to make this work, but I'm not sure how.
// Lab 3: EmployeeTest.java
// Application to test class Employee.
/* Begin class declaration of EmployeeTest class. */
public class EmployeeTest
{
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |