1

I have unmanaged C++ application which uses c# assembly. I want to save/read assembly settings. I added mySettigs to assembly and read/save settings to config file.

I have found this file

C:\Users\JohnDoe\AppData\Local\MayCrossoft\DefaultDomain_Path_l5epjb2agsxbnfr1mif5euhhtr3x5ed3\1.1.0\user.config

The question is: what need to do to change "DefaultDomain_Path_" to assembly name ?

Thnx.

DocMax
  • 12,094
  • 7
  • 44
  • 44
ZedZip
  • 5,794
  • 15
  • 66
  • 119
  • Does this user.config have anything to do with your unmanaged application or is it just some file you found? Unmanaged c++ applications don't normally use app.config or user.config... – Peter Ritchie Feb 19 '13 at 15:49
  • You might want to check out Amr's answer to a similar question here: [Can I control the location of .NET user settings...](http://stackoverflow.com/questions/621265/can-i-control-the-location-of-net-user-settings-to-avoid-losing-settings-on-app) – RogerN Feb 19 '13 at 16:11
  • 2 Peter: This file user.config used only by managed assembly. The way is: unmanaged c++ code->managed c++ code->c# assembly. I need this user.config for this c# assembly only. – ZedZip Feb 19 '13 at 16:18
  • 2 RogerN: Thank you for the link. But I cannot find Upgrade method in my settings. I have added them via Add new. – ZedZip Feb 19 '13 at 16:54

0 Answers0