|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
my config is deletedvb vs2003
in my bin folder I have a config file for my app "myConfig.exe" as "myConfig.exe.config" <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="v3" value="Value 3" /> </appSettings> </configuration> If I execute the exe from the bin... the app finds my config file. If I run it using debuger the config file is deleted and my app reports the config is not found. any reasons why my config is deleted ? thanks for your help Not sure why it's deleted, but you should make use of the built in support
for config files instead. Move the file so it is where the rest of you source code is, rename it to app.config. and add it to your project. The compiler will automatically copy it to your bin directory with the correct name (myConfig.exe.config). /claes Show quoteHide quote "raulavi" <raul***@discussions.microsoft.com> wrote in message news:F7280AB1-9ED0-4C81-BD6F-CD01D1145ED6@microsoft.com... > vb vs2003 > in my bin folder I have a config file for my app "myConfig.exe" as > "myConfig.exe.config" > <?xml version="1.0" encoding="utf-8"?> > <configuration> > <appSettings> > <add key="v3" value="Value 3" /> > </appSettings> > </configuration> > If I execute the exe from the bin... the app finds my config file. If I > run > it using debuger the config file is deleted and my app reports the config > is > not found. > any reasons why my config is deleted ? > thanks for your help > > >
Converted code
Bug with VS.NET inheriting from a control Export Data to Excel VB6 to VB.Net - Using X1,X2,Y1,Y2 in .Net Urgent: VB.NET Code to Change Excel Worksheet Header/Footer VB.NET Automatic code typing features "ambiguous" problem with VB.NET 2005 ListView.SelectedItems.Clear if result = system.dbnull how to load a .csv file to a temporary table in sql 2000 |
|||||||||||||||||||||||