How to keep the App.Properties.Settings.Default.Value in the same directory, and it can be referred in latest version?

  • Thread starter Thread starter E-John
  • Start date Start date
E

E-John

Guest
Dear All,

Some settings values could be saved to disk and laded by application using App.Properties.Default.Value.

The problem now I have is, if the version is changed in Properties\AssemblyInfo.cs

Like below,

...

// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.2.0")]
[assembly: AssemblyFileVersion("1.5.2.0")]

The original setting value App.Properties.Default.Value will be changed to another new directory,

See below,

Test.exe_Url_ngyzmkifkzjt012vpyhasngc5euf51hy\1.5.1.0\user.config

Test.exe_Url_ngyzmkifkzjt012vpyhasngc5euf51hy\1.5.2.0\user.config


We want the old setting values be kept and they can be reference in latest version,

Does any one know how to do it?


Thanks and Best regards,

E-John

Continue reading...
 
Back
Top