title: CSV Type Provider cannot find column in F# interactive
body: <p>So let's say I have a CSV file with a header containing columns Population and Profit, and I'd like to work with it in F# interactive. I have the following code:</p>
  
  <pre><code>#r "../packages/FSharp.Data.1.1.10/lib/net40/FSharp.Data.dll"
  
  open FSharp.Data
  
  // load csv header
  let cities = new CsvProvider&lt;"cities.csv"&gt;()
  
  // how to reach data
  let firstRow = cities.Data |&gt; Seq.head
  let firstPopulation = firstRow.Population
  let firstProfit = firstRow.Profit
  </code></pre>
  
  <p>I get an error from F# interactive: </p>
  
  <blockquote>
    <p>error FS0039: The field, constructor or member 'Population' is not defined</p>
  </blockquote>
  
  <p>This seems confusing to me, because intellisense in VS has no problem picking up this column from my data via a CSV type provider.</p>
  
  <p>Also, I tried creating a program with the same type provider and it all works just fine. Like this:</p>
  
  <pre><code>open FSharp.Data
  
  [&lt;EntryPoint&gt;]
  let main argv = 
      use file = System.IO.File.CreateText("result.txt")
      let csv = new CsvProvider&lt;"cities.csv"&gt;()
      for record in csv.Data do
          fprintfn file "%A" record.Population
      0
  </code></pre>
  
  <p>Am I missing something? Thanks for any answer. </p>