Hoschie,

That's what Microsoft decided in Visual Studio. Presumably they think
that C++ developers like to be in control of everything, so they do
nothing automatically. Note that the C# compiler doesn't copy the
App.config file, it is Visual Studio that does it.

Nicko

> -----Original Message-----
> From: Hans Schlegel [mailto:[EMAIL PROTECTED] 
> Sent: 11 October 2006 06:20
> To: [email protected]
> Subject: Application Config File
> 
> Hey,
> 
> I am using VS.NET 2003 Framework 1.1 with Managed C++ and had 
> some problems with the application configuration file which I 
> wanted to use to configure log4net. The build process never 
> created the <applicationname>.exe.config file from the app.config.
> 
> As I learned from 
> http://www.codeguru.com/cpp/cpp/cpp_managed/asp/article.php/c4873/
> this is only automatically done for VB and C# so I added the 
> Post-Build step to copy the file to the right place.
> 
> Before figured this out I tried the "ConsoleApp" example from 
> the "cpp-examples" which is part of the examples of the 
> log4net release. Here the <applicationname>.exe.config was 
> allways created without the Post-Build step. 
> 
> I couldnt figure out what they make different but I'm curious....
> 
> Anybody has an idea?
> 
> Thanks for reading...
> 
> Hoschie
> 
> 
> 
> 
> ________________________________
> 
> Keine Lust auf Tippen? Rufen Sie Ihre Freunde einfach an.
> Yahoo! Messenger. Jetzt installieren 
> <http://de.rd.yahoo.com/evt=39060/*http://de.messenger.yahoo.com> . 
> 

Reply via email to