I have an application that works correctly in debug mode but it does
not work in release.

I am not using anything of the class system.diagnostics.
I tried to disable the optimization code, but this did not work

please I need a solution quickly!!.

Thanks.

Re: My application works fine in debug mode but does not work in release mode. by Gabriel

Gabriel
Fri Jun 03 10:04:08 CDT 2005

Do you get an error message?

Gabriel Lozano-Morán



Re: My application works fine in debug mode but does not work in release mode. by Herfried

Herfried
Fri Jun 03 10:16:33 CDT 2005

"Ariel" <ariellarraburu@yahoo.com.ar> schrieb:
>I have an application that works correctly in debug mode but it does
> not work in release.

What does not work? What error message/exception is shown?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Re: My application works fine in debug mode but does not work in release mode. by Patrice

Patrice
Fri Jun 03 10:18:17 CDT 2005

The first step would be to know what the exact error message is ? Do you
have this or does it just hangs without any feedback ?

Patrice

--

"Ariel" <ariellarraburu@yahoo.com.ar> a écrit dans le message de
news:%23%235sYxEaFHA.228@TK2MSFTNGP12.phx.gbl...
> I have an application that works correctly in debug mode but it does
> not work in release.
>
> I am not using anything of the class system.diagnostics.
> I tried to disable the optimization code, but this did not work
>
> please I need a solution quickly!!.
>
> Thanks.



Re: My application works fine in debug mode but does not work in release mode. by Cor

Cor
Fri Jun 03 10:23:18 CDT 2005

Ariel,

How did you start your application.

(A simple way is to click on the exe in the application debug release
folder using explorer)

(Assuming that you build it once in release mode)

Cor



RE: My application works fine in debug mode but does not work in relea by NoSpamMgbworld

NoSpamMgbworld
Fri Jun 03 10:27:01 CDT 2005

If you are in dire straits, the quickest way to get a response is more
information. Types of information that helps:

1. Code samples
2. Error messages (exactly as shown)
3. Specific information about the class you have written (what is it doing)

Without this, you are just throwing out a question hoping someone has
encountered a similar problem. But, his solution might not be yours without
specific information.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"Ariel" wrote:

> I have an application that works correctly in debug mode but it does
> not work in release.
>
> I am not using anything of the class system.diagnostics.
> I tried to disable the optimization code, but this did not work
>
> please I need a solution quickly!!.
>
> Thanks.
>

Re: My application works fine in debug mode but does not work in release mode. by Nick

Nick
Sat Jun 04 13:52:41 CDT 2005

Wow... you really hit a lot of forums. I'm assuming that you are facing a
serious challenge.

The most common cause I've seen for this is because you do not have all of
your compilation happening in a single solution file, and your references
are pointing to fixed locations on the hard drive.

In other words, I have seen this in the following scenario. If this
scenario does not apply to you, then my message will not be useful.
a) your application has more than one assembly.
b) you have not included the compilation of both assemblies in a single
solution file. You are compiling multiple solutions
c) The references in the dependent application are referring to the
location of the compiled dlls. They are not project references.

In this case, I have seen folks create two project files: one for debug and
the other for release modes, since the debug and release dlls for the
dependent app are in different directories. This is error prone and often
fails.

The best answer is to create an altogether new solution file. Add in all of
your project files. Drop all of the references and recreate them as project
references. Now, compiling as debug or release will work far better.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Ariel" <ariellarraburu@yahoo.com.ar> wrote in message
news:%23%235sYxEaFHA.228@TK2MSFTNGP12.phx.gbl...
>I have an application that works correctly in debug mode but it does not
>work in release.
>
> I am not using anything of the class system.diagnostics.
> I tried to disable the optimization code, but this did not work
>
> please I need a solution quickly!!.
>
> Thanks.