Skip to content

attempting to use AOT on 32 bit should give specific error #84583

@danmoseley

Description

@danmoseley

Preview 3 bits.

Should the SDK say something like "-aot is not supported for this target" (32 bit toolchain?) or similar rather than making me wonder whether I had the wrong feed set up.

C:\proj\4>"\Program Files (x86)\dotnet\dotnet.exe" new api -aot
The template "ASP.NET Core API" was created successfully.

Processing post-creation actions...
Restoring C:\proj\4\4.csproj:
  Determining projects to restore...
C:\proj\4\4.csproj : error NU1101: Unable to find package runtime.win-x86.Microsoft.DotNet.ILCompiler. No packages exist with this id in source(s): foo, nuget
  Failed to restore C:\proj\4\4.csproj (in 891 ms).
Restore failed.
Post action failed.
Manual instructions: Run 'dotnet restore'



C:\proj\4>"\Program Files (x86)\dotnet\dotnet.exe" restore
  Determining projects to restore...
C:\proj\4\4.csproj : error NU1101: Unable to find package runtime.win-x86.Microsoft.DotNet.ILCompiler. No packages exist with this id in source(s): foo, nuget
  Failed to restore C:\proj\4\4.csproj (in 881 ms).

C:\proj\4>\t\nuget sources
Registered Sources:
  1.  nuget [Enabled]
      https://api.nuget.org/v3/index.json
  2.  foo [Enabled]
      https://pkgs.dev.azure.com/dnceng/public/_packaging/8.0.100-preview.3.23178.7-shipping/nuget/v3/index.json

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions