Application does not run with Visual Studio 2013

Asked

Viewed 220 times

-1

I made two small applications in Visual Studio 2013, which do the following:

  • The first mounts the serial and saves that serial in the windows registry;
  • The second reads key in windows registry.

When I run the application (as an administrator) by Visual Studio 2015 it works smoothly, but when I go in the folder debug and run the right app, it doesn’t work (she doesn’t even show up).

On another machine it works, but on mine it doesn’t work. On a friend’s machine it works when it wants, the same error occurs (the application does not appear).

Any idea what it is ?

  • You should publish the application, and not run from the debug folder. Try to publish your application and run again.

  • One of which is called Visual Studio 2013 and another Visual Studio 2015 is because they must have differences, probably something that is trying to do gives in VS-15 because this is more advanced, but does not give in VS-13 because it should not have the same way of debug as the 2015..

  • And there’s this issue of the versions as well, and of . NET, the visual studio 2013 is 3.5 if I’m not mistaken, and the 2015 is the 4.5, and the versions of . NET has no backward compatibility.

1 answer

0

You need to release your application. Just change in the menu that is displayed in the image below where is "Debug" change to "Release" and run again your executable will be created.

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.