Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Issue with Release Version Exe

Issue with Release Version Exe

Scheduled Pinned Locked Moved C#
helpannouncementcsharpvisual-studiodebugging
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cancerion
    wrote on last edited by
    #1

    Hi, I am using Visual studio 2008.I build my application in ‘Release’ mode.It gave error while executing during some check ,But same things works fine when I execute in debugging as well if Exe is built in Debug version. Is there any setting required in visual studio. Regards, Sachin

    D B 2 Replies Last reply
    0
    • C cancerion

      Hi, I am using Visual studio 2008.I build my application in ‘Release’ mode.It gave error while executing during some check ,But same things works fine when I execute in debugging as well if Exe is built in Debug version. Is there any setting required in visual studio. Regards, Sachin

      D Offline
      D Offline
      DaveAuld
      wrote on last edited by
      #2

      What error did it give you?

      Dave Find Me On: Web|Facebook|Twitter|LinkedIn


      Folding Stats: Team CodeProject

      1 Reply Last reply
      0
      • C cancerion

        Hi, I am using Visual studio 2008.I build my application in ‘Release’ mode.It gave error while executing during some check ,But same things works fine when I execute in debugging as well if Exe is built in Debug version. Is there any setting required in visual studio. Regards, Sachin

        B Offline
        B Offline
        Bernhard Hiller
        wrote on last edited by
        #3

        There are some exceptions which get swallowed by Visual Studio. E.g. exceptions in Form_Load or Form_Shown are swallowed, when you do not have a try...catch block exactly in those functions. I do not know a useful documentation on that feature. Furthermore, some exceptions - also with the events mentioned above - could be swallowed on 64bit systems even in a "Release" executable, as documented in http://blog.paulbetts.org/index.php/2010/07/20/the-case-of-the-disappearing-onload-exception-user-mode-callback-exceptions-in-x64/[^].

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups