title: AWS CodeBuild failed with CommandNotFoundException for .net console application
body: <p>I am doing a POC on creating a code pipeline on AWS. I am using EU-WEST-1 region and a .net 4.5 simple hello world application but getting the error below on build phase</p>
  
  <pre><code>[Container] 2019/06/10 04:52:15 Running command &amp; "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe"
  -p:FrameworkPathOverride="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v$env:DOTNET_FRAMEWORK" $env:SOLUTION  &amp; : The term 'C:\Program Files (x86)\Microsoft Visual   Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe' is not recognized as the   name of a cmdlet, function, script file, or operable program. Check the   spelling of the name, or if a path was included, verify that the path is   correct and try again.  At C:\codebuild\output\tmp\script.ps1:5 char:3 
  + &amp; "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBu ... 
  +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
      + CategoryInfo          : ObjectNotFound: (C:\Program File...Bin\MSBuild.e      xe:String) [], CommandNotFoundException 
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <p>I know there is some problem in my YAML related to msbuild path but I am not able to figure it out, what?</p>
  
  <pre><code> build:
      commands:
        - '&amp; "C:\ProgramData\chocolatey\bin\NuGet.exe" restore $env:SOLUTION -PackagesDirectory $env:PACKAGE_DIRECTORY'
        - '&amp; "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" -p:FrameworkPathOverride="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v$env:DOTNET_FRAMEWORK" $env:SOLUTION'
  </code></pre>