By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,882 Members | 928 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,882 IT Pros & Developers. It's quick & easy.

app.config deploy

P: n/a
I have "MyApp.EXE.config". The file is in my EXE's directory, This
directory is my deploy directory and it different then my development
directory.
I read value and display on the form for testing.
Then I change value in config file, restart application and expect new
value to show.
But old value still showing. What is wrong?

Thanks,

Dec 21 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hello arkgroup,

aand it different then my development
adirectory.

What does it mean?

aI read value and display on the form for testing.
aThen I change value in config file, restart application and expect new
avalue to show.
aBut 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
Dec 21 '06 #2

P: n/a
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,

aand it different then my development
adirectory.

What does it mean?

aI read value and display on the form for testing.
aThen I change value in config file, restart application and expect new
avalue to show.
aBut 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
Dec 21 '06 #3

P: n/a
Hello arkgroup,

As I understand that behaviour is only when u run your app from network share?
and localy it works fine?!

aI publish my project to network drive and run application from it.
aIt's still have same value even if I remove app.exe.config from this
afolder.
aSo, you are right it did not use it.
aWhat other config file is using? Where I can find it? Thanks
a>
aMichael Nemtsev wrote:
a>
>Hello arkgroup,

aand it different then my development
adirectory.
What does it mean?

aI read value and display on the form for testing.
aThen I change value in config file, restart application and expect
new
avalue to show.
aBut 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
---
WBR,
Michael Nemtsev [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
Dec 21 '06 #4

P: n/a
No, did not work even if I publish locally.

Thanks

Michael Nemtsev wrote:
Hello arkgroup,

As I understand that behaviour is only when u run your app from network share?
and localy it works fine?!

aI publish my project to network drive and run application from it.
aIt's still have same value even if I remove app.exe.config from this
afolder.
aSo, you are right it did not use it.
aWhat other config file is using? Where I can find it? Thanks
a>
aMichael Nemtsev wrote:
a>
Hello arkgroup,

aand it different then my development
adirectory.
What does it mean?

aI read value and display on the form for testing.
aThen I change value in config file, restart application and expect
new
avalue to show.
aBut 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
---
WBR,
Michael Nemtsev [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
Dec 21 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.