I am trying to export my project winForm
to an installer, or a portable one.
I have tried in several ways, and what I sense is that some kind of error happens when loading the custom cursors;
Cursor = GestionCursores.Create(Path.Combine(Application.StartupPath, "..//..//Resources//Cursores//normal.ani"));
Executing the .exe of the project's Debug
folder works perfectly, but once I get the content out I can not find the route to the elements, modifying the route in such a way that if I find them, I execute the .exe
and nothing happens.
I also made the typical publication that generates an installable with ClickOnce
, but it gives me the same error, that is, it does not show anything.
Finally, also try the Visual studio Installer
tools but with the same success.
In the processes my application is shown running for 3 seconds and it closes automatically, showing no errors, and I do not know where to throw it.