title: dotnet build command for multiple projects of .NET standard, .NET Core and .NET Framework 4.6.1 in one solution gives error
body: <p>My solution consists of multiple projects of .NET Standard, .NET Framework 4.6.1 and .NET Core 2.x. When I build my solution with dotnet build command on CLI gives errors.</p>
  
  <p>.NET Standard and .NET Core projects build successfully but the .NET Framework 4.6.1 projects give errors.</p>
  
  <p>Build command is <code>dotnet build D:\Projects\granite-gateway-api\src\Granite.Gateway.sln</code></p>
  
  <p>errors in build are:
  `Build FAILED.</p>
  
  <p>D:\Projects\granite-gateway-api\src\WebService\Granite.WebService.CallbackReceiver.TMobile\Granite.WebService.CallbackReceiver.TMobile.csproj(154,3): error MSB4019: The imported project "C:\Program Files\dotnet\sdk\2.1.507\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the  declaration is correct, and that the file exists on disk.</p>
  
  <p>C:\Program Files\dotnet\sdk\2.1.507\Microsoft.Common.CurrentVersion.targets(3049,5): error MSB4216: Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "CLR4" and architecture "x86".  Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\2.1.507\MSBuild.exe" exists and can be run. [D:\Projects\granite-gateway-api\src\WindowsService\Granite.WindowsService.CallbackSender\Granite.WindowsService.CallbackSender.csproj]</p>
  
  <p>C:\Program Files\dotnet\sdk\2.1.507\Microsoft.Common.CurrentVersion.targets(3049,5): error MSB4216: Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "CLR4" and architecture "x86".  Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\2.1.507\MSBuild.exe" exists and can be run. [D:\Projects\granite-gateway-api\src\WindowsService\Granite.WindowsService.Adapter\Granite.WindowsService.Adapter.csproj]</p>
  
  <p>C:\Program Files\dotnet\sdk\2.1.507\Microsoft.Common.CurrentVersion.targets(3049,5): error MSB4216: Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "CLR4" and architecture "x86".  Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\2.1.507\MSBuild.exe" exists and can be run. [D:\Projects\granite-gateway-api\src\WindowsService\Granite.WindowsService.ResponseFetch\Granite.WindowsService.ResponseFetch.csproj]
      0 Warning(s)
      4 Error(s)</p>
  
  <p>Time Elapsed 00:00:09.80
  `</p>