P
Patrick B
Problem: how can I programmatically delete a dll that is being used by
my application? I want to programmatically replace the dll with a newer
version.
I have a c# AppUpdater type application. When run, it opens an Access
DB, then checks my website for updates to the DB. If it finds an update
it downloads it. The next time the c# application is run, the newer
version of the Access DB is used. This works great. My problem is that
occassionally the c# application itself must be updated.
What I've done is separated all the important code into a dll. My app
can check the version of the dll, check my website for a newer version,
and if there is a newer version, it can download it. The problem is that
Windows won't let the new dll be installed over the current dll.
Any suggestions?
Thanks in advance,
-Patrick
my application? I want to programmatically replace the dll with a newer
version.
I have a c# AppUpdater type application. When run, it opens an Access
DB, then checks my website for updates to the DB. If it finds an update
it downloads it. The next time the c# application is run, the newer
version of the Access DB is used. This works great. My problem is that
occassionally the c# application itself must be updated.
What I've done is separated all the important code into a dll. My app
can check the version of the dll, check my website for a newer version,
and if there is a newer version, it can download it. The problem is that
Windows won't let the new dll be installed over the current dll.
Any suggestions?
Thanks in advance,
-Patrick