configuration settings problem
Warning 1 'System.Configuration.ConfigurationSettings.AppSet tings' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.Configur ationManager.AppSettings' C:\Documents and Settings\mixalis\Local Settings\Application Data\Temporary Projects\ConsoleApplication1\Program.cs 14 23 ConsoleApplication1
static void Main(string args)
astring = ConfigurationSettings.AppSettings["avalue"];
In another forum I found :
but I cannot understand what I should change!!! Can you help???
The most likely issue is that you're missing a reference to the System.Configuration.dll. This particular deprecation was certainly one of the most confusing, because the new type is actually in a completely different assembly. System.Configuration.ConfigurationSettings was in System.dll.
<?xml version="1.0" encoding="utf-8"?>
<add key="avalue" value="mike" />