Re: the config file
From: Hans Kesting (news.2.hansdk_at_spamgourmet.com)
Date: 06/03/04
- Next message: Cat: "Disallowing new table rows in a dataset"
- Previous message: Arne Janning: "Re: Different font in separate listView columns"
- In reply to: Daniel P.: "the config file"
- Next in thread: Daniel P.: "Re: the config file"
- Reply: Daniel P.: "Re: the config file"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Cat: "Disallowing new table rows in a dataset"
- Previous message: Arne Janning: "Re: Different font in separate listView columns"
- In reply to: Daniel P.: "the config file"
- Next in thread: Daniel P.: "Re: the config file"
- Reply: Daniel P.: "Re: the config file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|