locked
vs 2012 generated exe file not working RRS feed

  • Question

  • User-1659762023 posted

    Hi,

    i could not launch generated exe file directly... A simple project work in debug mode (F5), but if i try to launch exe file directly from is location (same with ctrl-F5), nothing append and the file is blocked by system (i can't deleted it), and nothing on tskmgr...!

    What can i do ?

    thank

    Monday, August 8, 2016 9:15 AM

Answers

  • User-718146471 posted

    Hm, so the operating system is blocking you from running it? Sounds to me like you have to use properties to control execution or right-click and click Run as Administrator. This is generally behavior by design; you need to digitally sign your code using a code-signing certificate. There are examples all over the web, go into google and search for Code Signing application. By the way, you are referring it seems to a desktop or console application, nothing that we directly support on the ASP.NET forums because these are not ASP.NET, that stuff is .NET windows forms or .NET console. There are other places on the web that support that.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 8, 2016 12:02 PM