Don't use the connection-string property AttachDBFilename
. I don't know why this option was ever invented. It's certainly nothing you would ever use in real life, that is, production.
Use the option Initial Catalog
to specify the name of the database (not the path to it). It already exists in your localDB instance, doesn't it?