-
Notifications
You must be signed in to change notification settings - Fork 525
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
Do not parse DNX stuff as dotnetcoreapp - fixes #3544 #3545
Conversation
521fade
to
eaad940
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you briefly explain what the root cause is and what the fix here does. Maybe it's because I just woke up but I don't get it (I looked at the referenced issue #3544 but I'm not exactly sure why removing a framework would break the resolution)
@@ -372,7 +372,7 @@ module LockFileParser = | |||
| e -> | |||
try InstallSettings.Parse(true, "framework: " + settingsPart) // backwards compatible | |||
with e2 -> | |||
raise <| AggregateException(sprintf "failed to parse line '%s'" line, e, e2) | |||
raise <| AggregateException(sprintf "failed to parse line '%s'. Message: %s" line e2.Message, e, e2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There shouldn't be a need for these changes as the error reporter at the end outputs all inner exception. If there is a need for these kind of changes we failed to propagate error information correctly and we should fix that instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was my mistake. I didn't read the message top to bottom and so I thought this would be needed,
my latest fix which tried to remove DNX was a bit too lazy. I just set it equal with dotnet core 1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah OK, we kept it because of lockfile compatibility. Makes sense.
Only one idea: Should we warn when the lock-file contains "Unsupported"?
Anyway, we should try and see if that works. Maybe we should add a test ;)
we don't warn. with next paket install the crap gets nuked anyway... |
No description provided.