I am in the process of refactoring a project that was, to my chagrin, written in Visual Studio. I come from a Linux background and find Visual Studio a catacomb of disempowering menus.
I am trying to move a Settings.settings
file from one solution into another.
Copying all the text from Settings.Designer.cs
has produced the desired compile time functionality, but I can't seem to use the gui for changing properties. The gui doesn't show any properties, unlike my source project. I also worry that my changes will disappear at VS's whim (when it regenerates this file).
How can I regenerate these properties from my existing configuration file?
You can delete the .Designer.cs file then exclude the .settings file from the project and include it again. Then the .designer file is regenerated.
In between, make sure to click on the Show all files button, otherwise you cannot see the file you have just excluded from your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With