Solved

500pts: Replacing a dll in my application?

Posted on 2006-11-24
2
161 Views
Last Modified: 2010-04-16
Hi there,

This is probably a stupid question but i wanted to double check... i have an application that is already compiled and distributed and i have just built a new DLL...

Can i distribute the dll only. Nothing in the program has changed but some classes in the dll have... Nothing will break the code .. it was internal changes but the dll is referenced in other DLL's that are part of the program...

THe dll resides in the apllication's directory... I have just replaced it and it seems to work... but i can't tell if its using the new dll or ¿???

Thanks in advance

Ian
0
Comment
Question by:ianinspain
2 Comments
 
LVL 29

Accepted Solution

by:
Nightman earned 500 total points
ID: 18008195
Yes, you can  - although you already knew that ;)
To ensure that it uses the new dll, restart the application (make sure you have a backup of the old one in case it all goes horribly wrong).
What I usually do is have a help menu function that can query the assembly versions and display them. This way I can be 100% sure.
0
 

Author Comment

by:ianinspain
ID: 18008207
Yes it was a stupid question.... i know... i was a little nervous about have to recompile against the dll

Thanks! You have put my mind at rest..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
This code tracks birthdays 3 60
Problem to error 4 44
Filename to be appended with DateTimeof Download 3 46
Exit the loop 4 35
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now