title: Cant read configuration. RoleEnvironment may be inaccessible due to its protection level
body: <p>This is my first azure project and I'm not sure if I'm doing something wrong.
  I'm trying to get some configuration inside an MVC 3 webrole and for this I'm using:</p>
  
  <pre><code>RoleEnvironment.GetConfigurationSettingValue(KeyName)
  </code></pre>
  
  <p>When I run the application on the emulator i get his error:</p>
  
  <pre><code>BC30451: 'RoleEnvironment' is not declared. It may be inaccessible due to its protection level.
  </code></pre>
  
  <p>I tried to add the full namespace like this:</p>
  
  <pre><code>Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetConfigurationSettingValue(KeyName)
  </code></pre>
  
  <p>And I get this error:</p>
  
  <pre><code>BC30456: 'ServiceRuntime' is not a member of 'WindowsAzure'.
  </code></pre>
  
  <p>However, I can access the RoleEnvironment inside the "OnStart" event of the WebRole class.
  So, is it the expected behavior? If yes, how am I supposed to read configuration through the whole project?</p>
  
  <p>Thanks in advance;</p>