tagged [settings]
Properties.Settings.Default.Save(); -> Where is that file
Properties.Settings.Default.Save(); -> Where is that file I have app that uses Settings. To save settings I use: To read tham I use: In my folder with application I have only exe file. No config files...
- Modified
- 26 Apr at 10:54
C#: Can an Enum Value be saved as a Setting?
C#: Can an Enum Value be saved as a Setting? Can an `enum` value be saved as a setting, using the `Properties.Settings.Default["MySetting"]` syntax of C#? I tried to create a setting in my project's p...
how to change .NET user settings location
how to change .NET user settings location By default settings are stored at: `C:\Documents and Settings\\Local Settings\Application Data\` How can I change this path to application directory. I also d...
- Modified
- 25 Mar at 19:41
How to remove dotted line from text editor in visual studio?
How to remove dotted line from text editor in visual studio? Unfortunately I hit some shortcut from Visual Studio text editor.After that there will be a dotted line in my text editor along with every ...
- Modified
- 5 Feb at 21:30
How to configure "Shorten command line" method for whole project in IntelliJ
How to configure "Shorten command line" method for whole project in IntelliJ When I run tests I get the error "Command line is too long". It works if I set the "Shorten command line" method in the Run...
- Modified
- 27 Nov at 04:3
Where is c# 7.2 in visual studio project settings?
Where is c# 7.2 in visual studio project settings? Ive seen people using and discussing c# 7.2 features but I cant seem to find it. Ive got latest updates and only up to version `7.1` is listed. why a...
- Modified
- 16 Nov at 11:34
Why are my application settings not getting persisted?
Why are my application settings not getting persisted? So I have some settings that are of the scope, but for some reason, they are not being saved to the .exe.config file. I do the following: Yet I l...
- Modified
- 22 May at 09:24
How do I access the Properties namespace from within a console app?
How do I access the Properties namespace from within a console app? I am trying to store/retrieve a value that is stored in the Application Settings. From within my console application I can not seem ...
- Modified
- 11 May at 22:43
Save Settings in a .NET Winforms Application
Save Settings in a .NET Winforms Application > [What is the best way to store user settings for a .NET application?](https://stackoverflow.com/questions/26369/what-is-the-best-way-to-store-user-setti...
common Settings.settings file for entire solution
common Settings.settings file for entire solution Is there a way to have common Properties file for all the projects of the solution? I have a console application and bunch of other class librarry fil...
- Modified
- 26 Apr at 15:56
How to use settings in Visual C#
How to use settings in Visual C# I have been a VB.net developer for a long time and changed recently to C#. When I was using VB.net, to call user settings, I just need to create a new setting using th...
How to save byte[] in c# application settings
How to save byte[] in c# application settings I am trying to save a byte array (byte[]) in c# application settings that is returned by [Object List View](http://objectlistview.sourceforge.net/cs/index...
- Modified
- 8 Sep at 11:2
Custom enum as application setting type in C#?
Custom enum as application setting type in C#? If have an enum in C#: For my application I use the application settings, where I can select of which Type a setting should be. I thought when I select ,...
Have different initial_data fixtures for different stages (testing v. production)
Have different initial_data fixtures for different stages (testing v. production) I have an `initial_data` fixture that I want to load everytime for production. I already have different settings file ...
- Modified
- 24 Aug at 20:51
Reloading configuration without restarting application using ConfigurationManager.RefreshSection
Reloading configuration without restarting application using ConfigurationManager.RefreshSection Has anyone got this working in a web application? No matter what I do it seems that my appSettings sect...
- Modified
- 7 Oct at 16:26
Difference between 'SpecialFolder.LocalApplicationData' and 'SpecialFolder.ApplicationData'?
Difference between 'SpecialFolder.LocalApplicationData' and 'SpecialFolder.ApplicationData'? On my system, `%AppData%` leads to `ApplicationData` which is `C:\Users\\AppData\Roaming` But there is also...
- Modified
- 12 Nov at 16:7
Azure Functions how to add application settings to bindings
Azure Functions how to add application settings to bindings I'm trying to add some custom binding using my app settings for my Azure Function. I need to receive only string a string from my settings. ...
- Modified
- 12 Jan at 10:52
Different application settings depending on configuration mode
Different application settings depending on configuration mode Is anyone aware of a way that I can set application (or user) level settings in a .Net application that are conditional on the applicatio...
- Modified
- 22 Jun at 04:39
How can I sync my Resharper settings between computers?
How can I sync my Resharper settings between computers? I have a work PC and a laptop at home that I dev on using Resharper. Unfortunately, every time I add a live template or change my formatting set...
- Modified
- 22 Jul at 23:34
Best practices for storing UI settings?
Best practices for storing UI settings? we're currently planning a larger WPF LoB application and i wonder what others think being the best practice for storing lots of UI settings e.g. - - - - i don'...
- Modified
- 29 Oct at 13:49
Get Connection String in Azure Function v3
Get Connection String in Azure Function v3 I am very confused. I want to get a connection string in an Azure v3 function (.Net Core 3.1). My local settings looks like ``` { "IsEncrypted": false, "...
- Modified
- 20 Nov at 11:20
Where are .NET User Settings stored IF User = SYSTEM?
Where are .NET User Settings stored IF User = SYSTEM? I've been working with an updated to update one of my apps and using `Properties.Settings.Default.Upgrade()` and discovered that after my updater ...
IntelliJ: Never use wildcard imports
IntelliJ: Never use wildcard imports Is there a way to tell IntelliJ never to use wildcard imports? Under 'Settings > Code Style > Imports', I can see that you can specify the 'class count' prior to I...
- Modified
- 27 Oct at 13:49
How do I get the location of the user.config file in programmatically?
How do I get the location of the user.config file in programmatically? I'd like to display the location of the user.config file in my windows forms application so a user can easily find it. I understa...
- Modified
- 23 May at 10:30
Custom path of the user.config
Custom path of the user.config I manage my application-settings using the setting-designer in VS2008. > "The exact path of the user.config files looks something like this:" Is there to a way to custo...
- Modified
- 15 Feb at 10:31