Domanda

My scenario is that I have two computers A and B. Computer A has an installed C# windows forms application on it. Pretending that I dont have the source code to publish onto B, is it possible to move the app from A to B? If so, what files do I need in order to copy it over?

È stato utile?

Soluzione

You have to check if the C# application requires files found in the local appdata directory, if so you'll need to copy them.

It can be difficult when apps require a certain DLL then you'll need to find the dependencies for the application and install them on Computer B.

After you've done that you can copy all the files that are in the programs directory and you MIGHT be good to go.

Best thing to do is make sure you have the installer handy :)

Altri suggerimenti

Can't answer without knowing the application.

Sometimes it's enough to just copy the files over. However, if the app relies on registry entries, databases or some other prerequisites copying files is not enough.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top