-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: NU1101: Unable to find package runtime.win-x86.Microsoft.DotNet.ILCompiler #630
Comments
This project supports Linux/Windows/macOS x64 only currently. arm64 is in the works. |
Thanks for your response. I am not sure if I understood well, but I am not using arm64 architecture. I am currently running on Windows 10 x64 and I am trying to make x86 and x64 builds. The x64 build fine, but when I set x86 as target platform, it fails because does not find the related package. |
As of today, x86 build is not supported. See dotnet/corert#8230. If I am not mistaken, there hasn't been progress toward supporting x86 but I may be wrong. |
I think you should be hitting this line when targeting x86: https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets#L59. You should be getting the error "win-x86 not supported yet. dotnet/corert#4589" |
Thanks for the info. Hope to see x86 supported soon. |
The |
@netcorefan1 Thank you for reporting this issue. We have fixed the ILCompiler package to report the "win-x86 not supported yet" error message in this scenario. At present we are focused on improving x64 and ARM64 support. If you think x86 support has important business or research value, I encourage you to post that request as a comment to issue 248 for better visibility. |
after 2 year but x86 still not support, with error NU1101: Unable to find package runtime.win-x86.Microsoft.DotNet.ILCompiler. No pa |
1 similar comment
after 2 year but x86 still not support, with error NU1101: Unable to find package runtime.win-x86.Microsoft.DotNet.ILCompiler. No pa |
Will this ever be supported? |
Hello,
I am trying to build x86 and x64 version of the sample library, but I am getting the Nuget error in the title because can't find the relative package:
info : GET https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/fe324174-469a-4296-a9cb-1fd885bb6f2b/nuget/v3/flat2/runtime.win-x64.microsoft.dotnet.ilcompiler/6.0.0-preview.2.21103.1/runtime.win-x64.microsoft.dotnet.ilcompiler.6.0.0-preview.2.21103.1.nupkg info : NotFound https://api.nuget.org/v3-flatcontainer/runtime.win-x64.microsoft.dotnet.ilcompiler/index.json 515ms info : NotFound https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.dotnet.ilcompiler/index.json 587ms info : NotFound https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/fe324174-469a-4296-a9cb-1fd885bb6f2b/nuget/v3/flat2/runtime.win-x86.microsoft.dotnet.ilcompiler/index.json 674ms info : OK https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/fe324174-469a-4296-a9cb-1fd885bb6f2b/nuget/v3/flat2/runtime.win-x64.microsoft.dotnet.ilcompiler/6.0.0-preview.2.21103.1/runtime.win-x64.microsoft.dotnet.ilcompiler.6.0.0-preview.2.21103.1.nupkg 1571ms info : Installing runtime.win-x64.Microsoft.DotNet.ILCompiler 6.0.0-preview.2.21103.1.
error: NU1101: Unable to find package runtime.win-x86.Microsoft.DotNet.ILCompiler. No packages exist with this id in source(s): dotnet-experimental, nuget
I followed the instructions in the readme, but I am not sure if they refer to old and obsolete source/packages:
nuget.config
dotnet add package Microsoft.DotNet.ILCompiler -v 6.0.0-*
I am also wondering if it is possible to do everything inside VS without being forced to open the shell just like happens with regular NuGet packages.
Thanks
The text was updated successfully, but these errors were encountered: