473,378 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Problem creating Release EXE

I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm. And, when
I run the exe, both the button and textbox are still on the form. The Debug
exe is fine. I even added msgbox at form_load, and the message box is shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.
Aug 22 '07 #1
4 1308
Check whether you have "On Run, when build or deployment errors occur" you
have "Launch old version" or some setting that is causing you to launch the
older version. This setting can be found at Tools->Options->Projects and
Solutions->Build and Run.

-Arun
I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my
form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it
creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm. And,
when
I run the exe, both the button and textbox are still on the form. The
Debug
exe is fine. I even added msgbox at form_load, and the message box is
shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is
dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.

Aug 22 '07 #2
You have more than one weird thing happening. You've asked a question about
Windows Forms executables in the ASP.NET newsgroup, which has nothing to do
with Windows Forms. Try to post questions to the correct newsgroup for best
results.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"fniles" wrote:
I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm. And, when
I run the exe, both the button and textbox are still on the form. The Debug
exe is fine. I even added msgbox at form_load, and the message box is shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.
Aug 22 '07 #3
Thank you.
"On Run, when build or deployment errors occur" is set to "Prompt to launch"
"On Run, when projects are out of date" is set to "Prompt to build"
The weird thing is, no matter what I do the exe created is always dated
8/23/07 4:20 pm. I even rebooted my machine and still has the same problem.

"Arunkumar Keserla" <ak******@gmail.comwrote in message
news:d7*************************@msnews.microsoft. com...
Check whether you have "On Run, when build or deployment errors occur" you
have "Launch old version" or some setting that is causing you to launch
the older version. This setting can be found at Tools->Options->Projects
and Solutions->Build and Run.

-Arun
>I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my
form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it
creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm. And,
when
I run the exe, both the button and textbox are still on the form. The
Debug
exe is fine. I even added msgbox at form_load, and the message box is
shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is
dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.


Aug 23 '07 #4
Try to nuke your bin directory both release and debug. Sometimes, you may
have a release setting when you were expecting a debug version (or vice versa)

-Arun
Thank you.
"On Run, when build or deployment errors occur" is set to "Prompt to
launch"
"On Run, when projects are out of date" is set to "Prompt to build"
The weird thing is, no matter what I do the exe created is always
dated
8/23/07 4:20 pm. I even rebooted my machine and still has the same
problem.
"Arunkumar Keserla" <ak******@gmail.comwrote in message
news:d7*************************@msnews.microsoft. com...
>Check whether you have "On Run, when build or deployment errors
occur" you have "Launch old version" or some setting that is causing
you to launch the older version. This setting can be found at
Tools->Options->Projects and Solutions->Build and Run.

-Arun
>>I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my
form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it
creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm.
And,
when
I run the exe, both the button and textbox are still on the form.
The
Debug
exe is fine. I even added msgbox at form_load, and the message box
is
shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is
dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.

Aug 23 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phil Schmidt | last post by:
I'm attempting to follow the instructions at http://sebsauvage.net/python/mingw.html, without luck. I have Python 2.3, MinGW 3.2.3, ans SWIG 1.3.19. I get an export error on "initexample" when...
0
by: Jose Vicente Nunez Z | last post by:
Greetings, I wrote a couple of custom dummy extensions in Python (one a pure Python and the other a C) and i managed to compile and install them without a problem: $ make python2 setup.py...
7
by: Carl Waldbieser | last post by:
I tried to adapt the instructions for building the M2Crypto module (http://sandbox.rulemaker.net/ngps/m2/INSTALL.html) to build a version compatible with Python2.3, but I've had some mixed results....
0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
0
by: Adam Clauss | last post by:
I have a C++ COM Addin I wrote for Outlook (2002) using VS.Net 2002. Having completed it, I am now looking to create a setup project and install it on another machine. I created a setup project...
5
by: David++ | last post by:
Hi there, I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for the debug version of the DLL (and this DLL works fine), however, I seem unable to build a Release version of...
4
by: Johny_W | last post by:
hi guys, I have encountered a problem with IE automation (.NET 2.0, C#, mshtml, SHDocVw). I am writing a class for manipulating specific html pages with frames. It is supposed to be used from...
4
by: fniles | last post by:
I am using VisualStudio 2005 (VB.Net). A weird thing happens. I used to have a button and a textbox on my form, and I deleted them. I do a Build on a Release mode. But, the EXE that it creates is...
1
by: avpkills2002 | last post by:
I seem to be getting this weird problem in Internet explorer. I have written a code for parsing a XML file and displaying the output. The code works perfectly fine with ffx(Firefox).However is not...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.