App.config does not work?
<p>Config Like this :</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;configuration&gt;

 &lt;connectionStrings&gt;
    &lt;add 
      name="MyProject.Properties.Settings.Default.dataConnection"
      connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=address;
              Integrated Security=True;Connect Timeout=30;User Instance=True"
      providerName="System.Data.SqlClient" /&gt;
  &lt;/connectionStrings&gt;
&lt;/configuration&gt;
</code></pre>

<p>and when i want to use following code to get connection string , "Error 1 'Weather.Properties.Settings' does not contain a definition for 'dataConnection' and no extension method 'dataConnection' accepting a first argument of type 'Weather.Properties.Settings' could be found (are you missing a using directive or an assembly reference?) " error rises ,</p>

<pre><code>string connectionString = 
   global::MyProject.Properties.Settings.Default.dataConnection;
</code></pre>
