Re: app.config deploy



Hello Michael,

I publish my project to network drive and run application from it.
It's still have same value even if I remove app.exe.config from this
folder.
So, you are right it did not use it.

What other config file is using? Where I can find it?
Thanks

Michael Nemtsev wrote:
Hello arkgroup,

a> and it different then my development
a> directory.

What does it mean?

a> I read value and display on the form for testing.
a> Then I change value in config file, restart application and expect new
a> value to show.
a> But old value still showing. What is wrong?

Wrong is that data read from the other config :)


---
WBR,
Michael Nemtseva [C# MVP] :: blog: http://spaces.live.com/laflour

"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" (c) Michelangelo

.



Relevant Pages

  • Re: Find/Replace function
    ... I completely agree that a config file is the way to go. ... but the reason I was asking for the function to ... I drag them from one sourcesafe folder (called ... > file ends up in my project folder when I check it out. ...
    (microsoft.public.vb.general.discussion)
  • Re: running winform exe from the web
    ... The folder is set up to be trusted, and I have a winforms application ... open the config file directly in the browser, ... I haven't done anything in particular with the web server or the folder, ... >> I even don't see the MyObject in the GAC directory. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: .NET Framework 1.1 installed, but VS still sees 1.0
    ... to the project's \bin folder (in fact, to the folder where you will start ... | I recently downloaded and installed the .NET Framework 1.1. ... | Microsoft Development Environment menu item in the Help menu of Microsoft ... I would like to point out that the config file trick does not work. ...
    (microsoft.public.dotnet.languages.vb)
  • about locating assemblies
    ... The application uses dlls made in c++/c, which have been wrapped for using ... look into the concerned subfolder and therefore, ... the application folder, and yes, this time the exception was not raised. ... It would help if you could post parts of the config file that are ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Whats best way to include configuration settings with assembl
    ... > Settings folder you just mentioned. ... >> The app config file should only be used to store read-only configuration ... as the application and the config file are ...
    (microsoft.public.dotnet.languages.csharp)

Loading