Questions tagged [user-config]

16 questions
10
votes
2 answers

Define a custom path where the user.config file should be saved?

If I rename my compiled application for example from myapp.exe to app.exe then when I run the renamed executable a new user settings folder is generated in this path: C:\Users\{User}\AppData\Local\{CompanyName}\{ExecutableName}_Url_{SystemGUID or…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
7
votes
1 answer

user.config file not being created but app.config is?

My program has some settings built in which all have a User Scope. However when the program launches it only creates the AppName.exe.config file, which contains the settings . When saving a setting later on during runtime, it creates the…
JEV
  • 2,494
  • 4
  • 33
  • 47
5
votes
1 answer

Where is user.config loaded from during Visual Studio debugging

I have an application that reads from a user settings file, typically stored in Users/{username}/AppData/Local/{publisher}/{app}/{version}/user.config. I want to test making changes directly to the file, not through the Visual Studio properties…
HotN
  • 4,216
  • 3
  • 40
  • 51
3
votes
3 answers

How can I watch the user.config file and reload the settings when it changes?

I have a situation where I am running multiple instances of my WPF application. I want the instances to share the same user.config file. Currently, whichever instance writes to the user.config file last wins. I'd prefer for all the instances to…
John Myczek
  • 12,076
  • 4
  • 31
  • 44
2
votes
2 answers

How to change the predefined userconfig directory of my .NET application?

Currentlly the user-settings of my application are stored in this default directory: C:\Users\{User Name}\AppData\Roaming\{Company Name}\{Assembly Name}.vshos_Url_{Hash}\{Assembly Version} I'm aware of the meaning of the default Microsoft naming…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
1
vote
0 answers

How do you have custom default settings for new users in kde5 before the first login?

I am a kde5 system administrator with many users and how do I make it so that when a new user is created, some settings are automatically applied to them before the first login. These settings should be applied if the user is created by the kde5…
Eshwar B.Y
  • 11
  • 2
1
vote
1 answer

How to edit user-config.jam for Boost and gcc in Windows 10?

I'm trying to install Boost Python. The OS is Windows 10. The compiler is gcc. How do you edit the user-config.jam file? Please give any suggestion :)
A T
  • 23
  • 5
1
vote
2 answers

How to move an 'user.config' file from source PC to target PC preserving its settings?

I have a 3rd party application, Remove Empty Directories aka RED which can be downloaded here: http://sourceforge.net/projects/rem-empty-dir/files/?source=navbar The user settings of the application follows the standard .Net settings infrastructure,…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
1
vote
1 answer

How can I get path of user.config from another assambly?

I would like to have only one configuration file for all assemblies that are in my solution. So what is the best way to get the path of user.config from an other assembly?
christophrus
  • 1,170
  • 2
  • 14
  • 27
0
votes
3 answers

Corruption of user.config

Anyone knows the reason of "random" user.config corruption? I've a WinForms app affected by this problem at my client's production line. Found the same issue on the web and a workaround but I can't figure out because it happens.
Andrea Balducci
  • 2,834
  • 1
  • 21
  • 18
0
votes
1 answer

Avoid Separate Config Files for Separate Users

I have installed a window application on a machine. When i run exe file and try to read value from config file, it gives different results for different users. What I have identified: config file is saved in user's folder not in the application…
0
votes
1 answer

How do I deserialize a user.config file?

So I have this auto-generated user.config file. What I'm trying to do is deserialize the XML and put that data I need into properties. The class is just properties the XML data should go into. Right now the properties are all showing null. Don't…
On The Net Again
  • 265
  • 4
  • 16
0
votes
1 answer

Testbench in verilog produces errors saying real expression is being misused

When I run my testbench, it produces the error ERROR:HDLCompiler:480 - "/home/ise/FPGA/trapezoid/testbed.v" Line 31: Illegal context for real expression This is my first project in verilog, so I don't really know what's wrong. I'm trying to set up…
Auden Young
  • 1,147
  • 2
  • 18
  • 39
0
votes
1 answer

Windows IoT Raspberry Pi 3 C# Save Device Setting

I would like to know how to save my user config for my selected USB devices. Whenever i restart the device it will load as i selected previously. is it advisable to save locally or in the usb storage? Does this app note Store and retrieve settings…
mylim
  • 313
  • 4
  • 16
0
votes
0 answers

Retrieve LocalAppData with specific program & assembly

How can I retrieve this path programmatically? C:\Users\Koen\AppData\Local\vanlooverenkoen\MIDIMACRO.exe_Url_04ecy2myca3ul5300zb1jbkbmpknlbzv\3.0.0.0 This is my path that is used by the WPF user.config. I need to get this file after an update to…
vanlooverenkoen
  • 2,121
  • 26
  • 50
1
2