title: How to run microsoft BotBuilderLocation C# sample using VisualStudioCode?
body: <p>I downloaded project from <a href="https://github.com/microsoft/BotBuilder-Location" rel="nofollow noreferrer">https://github.com/microsoft/BotBuilder-Location</a> , extracted and opened the CSHARP folder using VisualStudioCode. I tried to run the project from terminal using command</p>
  <pre><code>dotnet run --project BotBuilderLocation.sln
  </code></pre>
  <p>But I'm getting multiple errors as follows:</p>
  <blockquote>
  <p>D:\InsuranceClaimSolution\BotBuilder-Location-master\CSharp\BotBuilderLocation.Sample\BotBuilderLocation.Sample.csproj(158,3):
  error MSB4019: The imported project &quot;C:\Program
  Files\dotnet\sdk\3.1.416\Microsoft\VisualStudio\v16.0\WebApplications\Microsoft.WebApplication.targets&quot;
  was not found. Confirm that the expression in the Import declaration
  &quot;C:\Program
  Files\dotnet\sdk\3.1.416\Microsoft\VisualStudio\v16.0\WebApplications\Microsoft.WebApplication.targets&quot;
  is correct, and that the file exists on disk.
  C:\Program Files\dotnet\sdk\3.1.416\Microsoft.Common.CurrentVersion.targets(1177,5):
  error MSB3644: The reference assemblies for .NETFramework,Version=v4.6
  were not found. To resolve this, install the Developer Pack
  (SDK/Targeting Pack) for this framework version or retarget your
  application. You can download .NET Framework Developer Packs at
  <a href="https://aka.ms/msbuild/developerpacks" rel="nofollow noreferrer">https://aka.ms/msbuild/developerpacks</a>
  [D:\InsuranceClaimSolution\BotBuilder-Location-master\CSharp\BotBuilderLocation.Tests\BotBuilderLocation.Tests.csproj]
  C:\Program Files\dotnet\sdk\3.1.416\Microsoft.Common.CurrentVersion.targets(1177,5):
  error MSB3644: The reference assemblies for .NETFramework,Version=v4.6
  were not found. To resolve this, install the Developer Pack
  (SDK/Targeting Pack) for this framework version or retarget your
  application. You can download .NET Framework Developer Packs at
  <a href="https://aka.ms/msbuild/developerpacks" rel="nofollow noreferrer">https://aka.ms/msbuild/developerpacks</a>
  [D:\InsuranceClaimSolution\BotBuilder-Location-master\CSharp\BotBuilderLocation\BotBuilderLocation.csproj]</p>
  <p>The build failed. Fix the build errors and run again.</p>
  </blockquote>
  <p>I'm new to dotnet and VisualStudioCode. I tried to search and fix these errors, but I'm not understanding how to fix this using VisualStudioCode. I've dotnet version 3.1.416. There are too many files and too many lines in this project, which are referring to a different dotnet version. Some target files are also not found. Now I'm confused from where to get these missing target files, what to do inorder to retarget this project to my current dotnet version.</p>
  <p>Can someone please help?</p>