Any chance it is because you forgot to double-escape the backslash? Did you try this:
"Data Source=(LocalDB)\\v11.0;Integrated Security=true"
Or even better, you could just use the @
mark to disable character escaping for the entire connection string:
@"Data Source=(LocalDB)\v11.0;Integrated Security=true"