-
-
Notifications
You must be signed in to change notification settings - Fork 477
Update cecil to v0.11.6 #1304
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
Update cecil to v0.11.6 #1304
Conversation
6715ed9 to
29661fc
Compare
29661fc to
4c6e631
Compare
|
It looks like we'll have to wait until all CI runners update their VS version before using net9.0. I just reverted NuGet audit to direct package references and updated old net6.0 targets to net8.0 in order for everything to build properly. |
|
@ltrzesniewski we could use this approach for installing sdks https://github.com/VerifyTests/Verify/blob/main/src/appveyor.yml#L9 but that should not block this PR |
|
Thanks for the tip! But I'll need to wait for the new VS version to be available anyway, as we're also testing the .NET Framework version of MSBuild. I'll open another PR when it's available. I'll also have to check if updating Microsoft.Build.Tasks.Core won't introduce any breaking change (the major version of the referenced assembly changes apparently). Does anyone want to include anything else in the next version, or should I just release it? (6.9.0 I suppose) |
This updates cecil to v0.11.6 in order to properly support stuff like
allows ref struct. I'm not sure it's really required, but better stay up to date with the latest changes.No longer relevant stuff
This includes other changes since I wanted to make it build properly on CI:
I had to update Microsoft.Build.Tasks.Core since the old version caused these errors when you have the .NET 9 SDK:
This is caused by the new transitive reference checks. Another option would be to disable these by setting
<NuGetAuditMode>direct</NuGetAuditMode>.I moved the tests to net9.0 since I was getting this error with the new version of Microsoft.Build.Tasks.Core:
I disabled the Windows VS job because VS 17.12 is not yet available on GitHub runners. I ran it locally though.
There are still issues to fix on the other CI platforms, so I'm posting this as a draft and I'll take a look at these.
I'm now wondering if NuGetAuditMode=direct wouldn't have been better, maybe I'll rollback this mess and leave it for later 😅