Re: the config file

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Hans Kesting (news.2.hansdk_at_spamgourmet.com)
Date: 06/03/04


Date: Thu, 3 Jun 2004 11:57:32 +0200


"Daniel P." <danutzp1@hotmail.comU> wrote in message news:uJNA$pNSEHA.3528@TK2MSFTNGP09.phx.gbl...
> I have a Windows Forms app in C#.
> I created the myApp.exe.config file and it works fine if I just run the exe.
>
> When I try to debug it from Visual Studio it does not see it and throws an
> exception.
> The .config file resides in the same folder as the source code.
>
> Thanks!
>
>

Are you really creating a file with the name "myApp.exe.config"?
There might be the problem. In VS you can create a file with the
(fixed) name "app.config", which gets copied and renamed
to the correct directory (debug or release) and filename
(myApp.exe.config) when you build the project.

Hans Kesting



Relevant Pages

  • Re: Cant debug ASP.Net in Visual Studio 2003
    ... I also have a project that is for a Pocket PC app. ... > I can debug the Pocket PC app however I can't debug the ASP.net app which ... > with Visual Source Safe 6.0D. ... > The Autos, Locals, Call Stack and Watch1 windows are all blank. ...
    (microsoft.public.vsnet.debugging)
  • Cant debug ASP.Net in Visual Studio 2003
    ... I also have a project that is for a Pocket PC app. ... I can debug the Pocket PC app however I can't debug the ASP.net app which is ... with Visual Source Safe 6.0D. ... The Autos, Locals, Call Stack and Watch1 windows are all blank. ...
    (microsoft.public.vsnet.debugging)
  • Re: properly disposing of filestream
    ... Try to use the release version of the EXE for the one app, and debug from VS the another instance. ... "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" Michelangelo ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: From CE 5 to CE 6
    ... It's most likely a problem in your app. ... If you can't repro on DeviceEmulator, then you'll need to get the SDK from the GPS device provider and debug it on there. ... you have Platform Builder / Windows CE 6.0? ... We already have a vendor that supplies its Windows CE 6 device and on ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Debugging .app file
    ... As Dan also pointed out earlier, when you have compiled the exe or the app ... you can debug the exe while it's running. ... > The exe file calls the app file and the app file uses one of the object ...
    (microsoft.public.fox.programmer.exchange)