Re: Deployment and DLL's



Thank you Vadym,

The problem I have is with 2 applications

The first one the exact error I get is an exception ;
An exception 'System.IO.FileNotFoundException' has occured in todo.exe
So with that one i assume a file is not being found somewhere that is trying
to be opened so I can find that with a bit of searching.

The second application runs but acts weirdly on the first run, then on the
second run works fine. Thats the one im really stumped on. I will try out
with the Debugger.Launch() and see how I go with that.

Thank you heaps for your time Vadym, very much appreciated here.
John Sheppard




"Vadym Stetsyak" <vadym_s@xxxxxxx> wrote in message
news:%23NZZ%23QL4GHA.4764@xxxxxxxxxxxxxxxxxxxxxxx
Hello, John!

Give more description on what's happening? Application isn't staring?
Are there any exceptions being thrown? Do you see any info in the
EventLog?

You can debug your app after install. To do this you can include debug
assemblies into your
setup project.

In the entry point ( e.g. Main() ) insert

#if DEBUG
Debugger.Launch();
#endif

call.
This call will result in VS debug dialog appear, attach with Visual Studio
and
see what will happen next...


JS> Hi there I have a windows dotnet application that I am attempting to
JS> create
JS> a deployment setup file for.

JS> The application runs fine when run from visual studio, but as soon
JS> as I
JS> install it from the setup things go awry. Does anyone have any idea
JS> on how
JS> to debug this? I suspect it may be something to do with DLL's not
JS> working
JS> properly but I really got no idea.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com


.



Relevant Pages

  • Re: Mixed code - Crashes in Release Mode
    ... native and managed code writted in C++/CLI in Visual Studio 2005. ... The application runs fine in "Debug mode", ... exception and pretty low quality. ...
    (microsoft.public.vc.language)
  • Re: Mixed code - Crashes in Release Mode
    ... The application runs fine in "Debug mode", ... exception and pretty low quality. ... I run the program from within Visual Studio 2008 by clicking on "Start ...
    (microsoft.public.vc.language)
  • Permission related / WebBrowser > System.UnauthorizedAccessException
    ... I cannot debug my app. ... An UnauthorizedAccessException exception is thrown when the operating system ... Web application in Visual Studio .NET, ... grant the worker process account the relevant ...
    (microsoft.public.dotnet.languages.vb)
  • How to Debug fullscreen application?
    ... Always if I get an exception in my application, Iam unable to get the focus ... to visual studio and debug the app. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Video hangs while its running under Windows CE
    ... exception when you are running a DEBUG OS with that debugger. ... I'm sorry Mr. Paul, you mistaken me. ... Exception in device.exe, gwes.exe & filesys.exe. ... DEBUG build and try to get the kernel debugger to show you where the ...
    (microsoft.public.windowsce.embedded)