-
Notifications
You must be signed in to change notification settings - Fork 2
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
project.assets.json processing #6
Conversation
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.
Intermediate review
private bool ShouldSkipPackage(LockFileTargetLibrary library) | ||
{ | ||
// In dev packs, the Newtonsoft.Json and SharpZipLib packages were added as dependencies but only for runtime.. | ||
if(String.Equals(library.Name, "Newtonsoft.Json", StringComparison.OrdinalIgnoreCase)) |
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.
Won't this exclude Newtonsoft even when added directly to the project?
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.
this code checks if newntonsoft package was added next to the dev back (and will include it if this is the case) because for the dev pack it will only add it to the runtime entry (as we defined that as such in the nuspec for the dev pack)
if (assemblyFound == null) | ||
return true; | ||
} | ||
else if(String.Equals(library.Name, "SharpZipLib", StringComparison.OrdinalIgnoreCase)) |
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.
Same comment as for Newtonsoft
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.
same applies for this package as for Newtonsoft
Closing this PR until we would need it again. |
AB#12182
AB#12183