I am trying to change my .NET Core web application to use the x86 version of the .NET Core SDK.
I installed the x86 version from here . I see this in C: \ Program Files (x86) \ dotnet \ sdk \ 1.0.0-preview2-003131
I updated my global.json to this:
{
"projects": [ "src" ],
"sdk": {
"version": "1.0.0-preview2-003131",
"architecture": "x86"
}
}
But I get the error:
The project is configured to use the .NET Core SDK version 1.0.0-preview2-003131, which is not installed or cannot be found on the path C: \ Program Files \ dotnet. These components are required to create and run this project. Download the .NET Core SDK version specified in global.json, or upgrade the SDK version in global.json to the installed version.
I think I need to tell my application to look in C: \ Program Files (x86) \ dotnet
How to do it?
Thanks for any help!