-
Notifications
You must be signed in to change notification settings - Fork 127
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
Unable to find resolved path for 'coreclr' #314
Comments
/cc @sbomer |
I have the same issue. And the most strange thing - it worked for me with preview of dotnet core 2.1, but fails after release it looks like some reference to coreclr got broken for ILLink after release |
Hitting this as well. Repro at https://github.com/shanselman/superzeit Just |
The full error is:
There seems to be an issue finding crossgen dependencies in some cases with new SDKs. I'm hoping we'll be able to fix this when/if we add proper crossgen support outside of the linker: https://github.com/dotnet/cli/issues/1437. Workaround |
Proper cross-gen support was added in dotnet/cli (closing) |
Description
NBxplorer is a
netcoreapp2.1
referencing NBXplorer.Client, a library in the same project targettingnetcoreapp2.1
.Compiling NBXplorer with ILLink gives
Unable to find resolved path for 'coreclr'
error.Note: If NBXplorer.Client is targetting
netstandard2.0
, it does not work either. If I targetnetstandard2.0
I getNBXplorer.Client depends on Microsoft.AspNetCore.App (>= 2.1.0-rc1) but Microsoft.AspNetCore.App 2.1.0-rc1 was not found
.Despite the fact NBXplorer.Client does not depend on it.
Repro
For convenience, here is the dockerfile
Building without ILLink works fine.
The text was updated successfully, but these errors were encountered: