moving .exe location causes crash?

  • Thread starter Thread starter Norvin Laudon
  • Start date Start date
N

Norvin Laudon

Hi,

I've developed a C# app for internal use on our LAN. I've deployed the app
with a setup project.
The problem is, when I make updates to the exe, I don't want to reinstall
the app on everyone's computer.
So I think, simple, I'll move the .exe to a network location, create a
shortcut to that file on everyone's pc, and I'll only have one .exe to
update.

But whenever I move the .exe to a different location than the one it was
installed in, it generates an "unhandled exception" error when loading.

How can I make an .exe that will run from any locations?

Norvin
 
Hi Norvin,

You'll certainly face security issues when you are accessing assembly on
network.
Are there other assemblies in the same folder as exe?
 
Back
Top