Spawbreaker / KasikLazyMachine

A minimal C#/.net application to keep arcdps, a Guild Wars 2 Addon, easily updated.
MIT License
1 stars 1 forks source link

Settings.Designer.cs could not be found and ConfigurationSettings.AppSettings is obselete #1

Open Markyparky56 opened 5 years ago

Markyparky56 commented 5 years ago

Fresh clone of the repo does not compile because of the missing file, either you left some old files in the project structure or you forgot to comit something (unlikely).

Deleting the "Settings.Designer.cs" file from the project structure allows it compile but leads to an interesting warning:

warning CS0618: 'ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'"
Spawbreaker commented 5 years ago

The settings file issue happened because I toyed with it before moving on to the Appdata method, didn't give me any issues until I reopened Visual Studio. It should be fixed on the most recent version. The warning I couldn't figure out how to use the "System.Configuration!System.Configuration.ConfigurationManager.AppSettings" version, but I guess I'll just have to investigate further on the week. Won't close this until I find a way to clear out that warning.