Attaching to a database via AttachDBFilename
is only possible when you use one of the Express editions of the product. So it won't work on the developer edition.
Since user instances will be removed in a future version of SQL Server, you probably shouldn't use this.