title: VS CODE / MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file
body: <p>I've tried many different ways but I get the error MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. in Visual Studio code when trying to run my Net Core.</p>
  <p>I think I have this configured correctly.  The project builds with no errors.  I even tried building a new empty project and still get the error.</p>
  <p>launch.json</p>
  <pre><code>{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  &quot;version&quot;: &quot;0.2.0&quot;,
  &quot;configurations&quot;: [
      {
          &quot;name&quot;: &quot;.NET Core Launch (web)&quot;,
          &quot;type&quot;: &quot;coreclr&quot;,
          &quot;request&quot;: &quot;launch&quot;,
          &quot;preLaunchTask&quot;: &quot;build&quot;,
          &quot;program&quot;: &quot;${workspaceFolder}/API/API/bin/Debug/net5.0/API.dll&quot;,
          &quot;args&quot;: [],
          &quot;cwd&quot;: &quot;${workspaceFolder}&quot;,
          &quot;stopAtEntry&quot;: false,
          &quot;serverReadyAction&quot;: {
              &quot;action&quot;: &quot;openExternally&quot;,
              &quot;pattern&quot;: &quot;\\bNow listening on:\\s+(https?://\\S+)&quot;
          },
          &quot;env&quot;: {
              &quot;ASPNETCORE_ENVIRONMENT&quot;: &quot;Development&quot;
          },
          &quot;sourceFileMap&quot;: {
              &quot;/Views&quot;: &quot;${workspaceFolder}/Views&quot;
          }
      }
      
  
  ]
  </code></pre>
  <p>}</p>
  <p>Tasks.json</p>
  <pre><code>{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  &quot;version&quot;: &quot;2.0.0&quot;,
  &quot;tasks&quot;: [
      {
          &quot;label&quot;: &quot;build&quot;,
          &quot;command&quot;: &quot;dotnet&quot;,
          &quot;type&quot;: &quot;shell&quot;,
          &quot;args&quot;: [
              &quot;build&quot;,
              // Ask dotnet build to generate full paths for file names.
              &quot;/property:GenerateFullPaths=true&quot;,
              // Do not generate summary otherwise it leads to duplicate errors in Problems panel
              &quot;/consoleloggerparameters:NoSummary&quot;
          ],
          &quot;group&quot;: &quot;build&quot;,
          &quot;presentation&quot;: {
              &quot;reveal&quot;: &quot;silent&quot;
          },
          &quot;problemMatcher&quot;: &quot;$msCompile&quot;
      }
  ]
  </code></pre>
  <p>}</p>