Questions tagged [user.config]
38 questions
2
votes
0 answers
System::Configuration - Can't create/save user.config in AppData/Local
I have been searching high and low for the proper way to use System::Configuration to create and modify a user.config file located under AppData/Local/myapplicationname/. I use the configuration manager to open a local user level configuration…

pcdangio
- 294
- 2
- 13
2
votes
0 answers
.NET config files issues of proprietary soft
I wrote an extension for big proprietary platform - DocsVision. This platform works using .NET 3.5 SP1, but I wrote my extension, using .NET 4 (I think, why not?)
Later, when DocsVision used Internet Explorer as host - I was added .config file to…

Namelles.One
- 78
- 8
1
vote
0 answers
Remove [eid]_[hash] in AppData
Just a hobby and not well-verse in C#.
Here's the problem:
The user.config of my executable is stored in the ...\Executable Name_[eid]_[hash]. This would be great if the user opens up my executable in ONE location.
However, since the user may open…

JKaplan
- 11
- 1
1
vote
1 answer
How do I loop through usersettings in user.config C#
First of all I am an idiot who cant format questions appearantly so im gonna have to post this all in one codeblock.
I have settings in my program that are programmatically added.
These are added like this:
SettingsProperty SP = new…

zerioto smoke
- 33
- 5
1
vote
1 answer
Specific version of System.Configuration.dll for my add-in DLL when the host application targets a different version via its app.config?
I'm writing a .NET DLL (C#) that is an add-in for a 3rd party product. That product includes this in it's application.exe.config file:
My DLL…

GreenCoder
- 13
- 1
- 3
1
vote
1 answer
user.config in Unity3D
Is there a way to store settings per user in Unity3D game?
I'm looking for something similliar to user.config that can be found in .NET. It is created per computer user.
I need it to store some values (filtering parameters) that can be changed by…

Janusz-kun
- 89
- 2
- 11
1
vote
1 answer
How to use user.config in c++ cli
I am tired of googling about how to use user.config instead of app.config in a managed C++ application. All I found was about C# and I can't figurate out how to translate to C++ (Properties namespace does not exist)
Anybody can put me in the way to…

Juanma Lozano
- 57
- 1
- 6
1
vote
1 answer
Localhost Error (403 Forbidden) with Yosemite
First, I looked on this page [Apache localhost 403 error with Yosemite because the person seems to have the same problem as me. I tried differents things but its doesn't work for me. When I write localhost in my url I receive a 403 Forbidden "You…

Schan
- 43
- 1
- 2
- 5
1
vote
1 answer
user.config ignored assembly information and is located in default location
I have a C# excel add-in project which uses the User Settings.
The file is saved in a weird location, I guess that it is the default one. But as far as I understand, the location is derived from information taken from the AssemblyInfo.cs file.
In…

merejy
- 414
- 4
- 17
1
vote
1 answer
Different user.config file when application is running as scheduled task
I have an application that is using a settings file, and when it is running as ascheduled task, it uses another user.setting file than when im debugging the application through Visual Studio.
Is this normal behaviour?
user.config from VS debugging…

hub
- 165
- 3
- 13
0
votes
1 answer
Delete user.config on uninstall through msiexec /x command line option
I have an MSI installer package that install the .net application. It also installs the Uninstall.bat file that does the uninstallation through the msiexec/x option. But it does not delete the user.config file created in the users Local…

Shakti Prakash Singh
- 2,414
- 5
- 35
- 59
0
votes
1 answer
Update user settings from outside the application
I have a C# application (a VSTO office addin) running on clients' machines, and I need to make a setup project or any other EXE that can overwrite and update the user settings in the user.config files with my own values.
It seems that I can't know…

Indigo121
- 75
- 6
0
votes
0 answers
ClickOnce and .NET 7: User settings not being updated
I've updated my vb Windows Forms Application from .net 4.7.2 to .net 7
So every time I Use ClickOnce now to Publish, when the new version is Loaded the User Settings are set back to default.
When a user then updates a User Setting it now creates a…

Glen Attwood
- 1
- 1
0
votes
1 answer
App only runs in background until you delete AppData then it works correctly
I have a weird occurrence where the program sometimes only starts in the background and even if you kill it with task manager it still only starts in the background.
When you navigate to AppData/Local/blahblah there is a user.config file. If you…

Johandre
- 55
- 2
- 10
0
votes
0 answers
Error accessing my.settings - corrupt user.config
I have a client who has asked me to fix a problem with a corrupt user.config file. The config file has enough of an XLM header for the program to load the settings, but the rest of the config file is nulls (0x00) so the config loads, but then an…

Karl Sangree
- 101
- 1
- 7