Registry problem

  • Thread starter Thread starter cody
  • Start date Start date
C

cody

I store my appsettings in the registry and I want that my app uses always
the same key.
At the moment, each time if I recompile a new app-sttings key is generated
with the version of my app. How can I prevent this without giving my app a
fixed version number?

thx in advance.
 
Edit the assembly information file, and go to the end of it where Verison
is mention
By default the version is something like "1.0.*"
The * charcaters will create a randomly versionning number each time you will compile it.
To avoid this situation handle you assembly verison by your self by
setting it as "1.0"


I don't want a fixed version number I just want the same registry key each
Time.
The version should autoincrement each time I recompile, thats already fine.
 
Back
Top