Re: Deployment and DLL's
- From: "John Sheppard" <nospam@xxxxxxxxxx>
- Date: Wed, 27 Sep 2006 23:19:40 +1000
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
.
- References:
- Deployment and DLL's
- From: John Sheppard
- Deployment and DLL's
- Prev by Date: Retrieving child data in DAL or BLL
- Next by Date: Re: Monitor or hook a call to the Registry, and swap the returned value
- Previous by thread: Deployment and DLL's
- Next by thread: A problem with Filewatch or something.
- Index(es):
Relevant Pages
|