title: Keyword not supported: 'version'
body: <p>I've got this project that I wrote in VS2010 as a WinForms project.  I'm not writing it in VS2012 as a WPF project.  I have a referenced DLL (<code>DailyReport</code>).  Inside <code>DailyReport</code> is a method called <code>GetUniqueDates()</code>.  It looks like this:</p>
  
  <pre><code>    public List&lt;string&gt; GetUniquesDates()
      {
          var dates = new List&lt;string&gt;();
  
          const string query = "SELECT date FROM hdd_local_data_v1_2";
  
          try
          {
              // Exception here  on the connection creation
              using (var connection = new SqlConnection(ConnectionStringFile)) 
              {
                  using (var command = new SqlCommand(query, connection))
                  {
                      connection.Open();
  
                      using (var reader = command.ExecuteReader())
                      {
                          while (reader.Read())
                          {
                              for (var i = 0; i &lt; reader.FieldCount; i++)
                              {
                                  dates.Add(reader.GetValue(i).ToString());
                              }
                          }
                      }
                  }
              }
          }
          catch (Exception ex)
          {         
              Logger.Error(ex.Message);
          }
  
          dates.Sort();
  
          return dates.Distinct().ToList();
      }
  </code></pre>
  
  <p>The <code>ConnectionStringFile</code> is set in the constructor, and looks like this:</p>
  
  <pre><code>ConnectionStringFile = @"Data Source=C:\hdd_data\Rubicon.hdd;Version=3;New=False;Compress=True;";
  </code></pre>
  
  <p>Now, in my VS2010 WinForms project, this method worked just fine.  However, in my VS2012 WPF project, I get an exception where I noted above.  And the exception is:</p>
  
  <pre><code>keyword not supported 'version'.
  </code></pre>
  
  <p>The database is a SQLite database.  I've tried removing the <code>version</code> keyword, but then I'd get the exception:</p>
  
  <pre><code>keyword not supported 'new'.
  </code></pre>
  
  <p>My question is:  Why would the connection work in my WinForms project and not my WPF project?  Is there something that changed when dealing with database connections?</p>
  
  <p>Also, please note, this isn't a question about parameterized queries and the like.  So, if possible, please those comments to yourself.  Thank you.</p>