title: VSCode debug test. error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file
body: <p>In Visual Studio Code, clicking on the "debug test" code lens link in my test project:</p>
  
  <p><a href="https://i.stack.imgur.com/RBGCA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RBGCA.jpg" alt="enter image description here"></a></p>
  
  <p>results in the error message:</p>
  
  <pre><code>MSBUILD : error MSB1011: Specify which project or solution file to use
  because this folder contains more than one project or solution file.
  </code></pre>
  
  <p>The error message makes sense, there ARE indeed several projects to choose from but <strong>how do I point the debugger at the correct one?</strong> </p>
  
  <p>I tried changing the .csproj file that my build task pointed to in tasks.json but it didn't have any effect. A quick google turned up the general VSCode docs for debugging but I couln't find how to configure the build task for a "debug test" event.</p>