title: SQLiteConnectionStringBuilder generates an invalid connection string
body: <p>I'm trying to build a valid connection string with the SQLiteConnectionStringBuilder (System.Data.SQLite v1.0.88.0) using either the datasource or the URI:</p>
  
  <pre class="lang-vb prettyprint-override"><code>    Dim connectionBuilder = New SQLiteConnectionStringBuilder
      connectionBuilder.DataSource = Path.Combine(datadir, "mydatabase.sqlite")
      connectionBuilder.Version = 3
  
      ' Open connection
      Dim connection As New SQLiteConnection(connectionBuilder.ConnectionString)
  </code></pre>
  
  <p>Or:</p>
  
  <pre><code>    Dim connectionBuilder = New SQLiteConnectionStringBuilder
      connectionBuilder.Uri = New Uri(Path.Combine(datadir, "mydatabase.sqlite")).AbsolutePath
      connectionBuilder.Version = 3
  
      ' Open connection
      Dim connection As New SQLiteConnection(connectionBuilder.ConnectionString)
  </code></pre>
  
  <p>Both generate the same connection string:</p>
  
  <pre><code>    uri=file:///C:/Users/myusername/Documents/Visual%20Studio%202010/Projects/myproject/myproject/bin/Debug/data/mydatabase.sqlite;version=3
  </code></pre>
  
  <p>The URI itself is valid, the connection string actually looks good, but when I try to open the connection, it generates a <code>NotSupportedException</code>due to the path format within SQLite: </p>
  
  <pre><code>       bei System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
         bei System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
         bei System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[]         pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
         bei System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates,         Boolean needFullPath)
         bei System.IO.Path.GetFullPath(String path)
         bei System.Data.SQLite.SQLiteConnection.ExpandFileName(String sourceFile, Boolean toFullPath) in c:\dev\sqlite\dotnet\System.Data.        SQLite\SQLiteConnection.cs:Zeile 2690.
         bei System.Data.SQLite.SQLiteConnection.Open() in c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteConnection.cs:Zeile 2009.
  </code></pre>
  
  <p>How can I prevent this short of building the connection string myself?</p>