Trying to attach mdf file to localDb throws error at least one file is required
<p><a href="https://i.stack.imgur.com/RLwBc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RLwBc.png" alt="Here is error"></a></p>

<blockquote>
  <p>TITLE: Microsoft SQL Server Management Studio</p>
  
  <p>Attach database failed for Server '(localdb)\mssqllocaldb'.  (Microsoft.SqlServer.Smo)</p>
  
  <p>ADDITIONAL INFORMATION:</p>
  
  <p>At least one file is needed for Database Attach. (Microsoft.SqlServer.Smo)</p>
</blockquote>

<p>I am trying to attach this <code>.mdf</code> database file to my LocalDb instance. It's fine if I can to it to SQL Server too. I have <code>.ldf</code> file in the same directory </p>