-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add cecil dependency to ILLink package #82630
Conversation
Tagging subscribers to 'linkable-framework': @eerhardt, @vitek-karas, @LakshanF, @sbomer, @joperezr Issue DetailsFixes #82597 by ensuring the Microsoft.DotNet.Cecil dependency shows up in the nuspec. Fixes #82611. The ref project changes aren't strictly necessary since that project isn't used for packaging, but I removed PrivateAssets there for consistency. I removed Publish there because it should never be published in a package from that project.
|
I assume this will also fix #82611? |
Yes, that's the intention. Do you know if there's a way to trigger the libraries build legs in this PR? I checked the .nuspec locally but ideally we would run package validation in this change. |
I don't think there's an easy way todo with our current infrastructure setup. Did you consider changing the evaluate path triggers to make sure that the libraries allconfigurations leg (which invokes packagevalidation) runs when src/tools/illink changes? |
I considered this, but I think we wanted to run only the illink validation legs when developing illink. Would it be feasible to run package validation in the clr.tools subset instead? |
Just to be clear, two "package validation" features exist:
Just enabling the Libraries Windows allconfigurations would enable both components and just adds a single leg to the pipeline. I would advise doing that, especially as we want to run the live built linker at some point in the libraries partition anyway. |
To run package validation (dependency closure verification)
That makes sense, thanks a lot for the explanation! |
Looks like the libraries build passed, which is all we really need for this change. Merging. |
Fixes #82597 by ensuring the Microsoft.DotNet.Cecil dependency shows up in the nuspec. Fixes #82611.
The ref project changes aren't strictly necessary since that project isn't used for packaging, but I removed PrivateAssets there for consistency. I removed Publish there because it should never be published in a package from that project.
I think this wasn't caught in #82407 because the package validation doesn't run as part of the clr.tools subset - we should fix that.