Solved

500pts: Replacing a dll in my application?

Posted on 2006-11-24
2
158 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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

13 Experts available now in Live!

Get 1:1 Help Now