I have two projects. One must be built with x86 architecture and the other with x64.
In my global.json I specify which architecture I want to use:
"sdk": {
"version": "1.0.0-preview2-003131",
"architecture": "x64"
}
Despite this, for the x64 project, I see in the Build Output:
1> C:\Program Files (x86)\dotnet\dotnet.exe build "C:\websites\myproject".
I can change between having Visual Studio 2015 use C:\Program Files (x86)\dotnet\dotnet.exe and C:\Program Files\dotnet\dotnet.exe by changing the order of my environment variables (as noted here). But I was hoping there was a way Visual Studio could just select the right version with having to change environment variable order.
Any ideas?