I'm trying to use application settings in my project.
When I try the following line of code in the project, I get an error.
TransferLogs.Properties.Settings.Default.ValleyLastRun = timeNow;
The resulting error is:
The type or namespace name 'Properties' does not exist in the namespace 'Williams.TransferLogs' (are you missing an assembly reference?)
I have the setting "ValleyLastRun" defined as a DateTime on my Project->Properties->Settings page. I don't know why I can't reference the setting in my project.
Here's the solution window:
This issue can also crop up if you've changed the namespace.
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