Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9194113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:19:45+00:00 2026-06-17T21:19:45+00:00

I built the latest version using the Release build profile of VS2012 for presenting

  • 0

I built the latest version using the Release build profile of VS2012 for presenting my application this morning. It didn’t work as expected.

I presented a faulty application even though it worked fine this morning. After a few tests, I discovered that the Release build configuration caused the issue. I cleaned my project a few times with no change. I have this Button Event Handler in my code:

private void btnAddDatabaseValues_Click(object sender, RoutedEventArgs e)
{
    MessageBox.Show("test");

    /*
    some other Code...
    */

}

In Debug mode, the message box pops up. In release mode, some other code is executing, and no message box pops up.

Any ideas?

I recently moved from VS2010 to VS2012 and installed Resharper. But I don’t think this has anything to do with my problem since in Debug Mode all is fine?!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:19:46+00:00Added an answer on June 17, 2026 at 9:19 pm

    Clean the solution and rebuild. The build is optimized to not run for projects that have already been built and sometimes this backfires.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've built boost from source because I need the latest version to build pyopencv
I am writing a sqlproj using the latest version of SSDT but the post-build
I have VS2012 and the latest 32-bit version of ODAC (Release 5 with Oracle
I used the latest build of IKVM (7.0.4335.0) to convert the newest version of
I'm using MPOAuthConnection for Cocoa oauth. I've updated the latest from SVN, built the
I've upgraded an ASP.Net Web application to the latest build of Fluent NHibernate (1.0.0.636)
My latest project is to build a billing system with multiple profile like 100+
I am using latest Pyramid to build a web app. Somehow we have started
I am using the latest release of entity framework 4 - CTP 4 for
UPDATE: Based on Slace's response I am now using the latest Official release witch

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.