-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The Mono.Cecil version in the Microsoft.NET.ILLink NuGet is wrong #2173
Comments
A workaround is to add a reference Mono.Cecil 0.11.4 in my project: <ProjectReference Include="Mono.Cecil" Version="0.11.4" /> and that seems to make the build choose the correct version. |
rolfbjarne
added a commit
to dotnet/macios
that referenced
this issue
Jul 27, 2021
61 tasks
sbomer
added a commit
to sbomer/linker
that referenced
this issue
Jul 27, 2021
The submodule update in dotnet#2156 incremented the cecil version, but we were still using 0.11.3 as the version in our package graph. See dotnet#1515 for more context on how this is set up. Fixes dotnet#2173
rolfbjarne
added a commit
to dotnet/macios
that referenced
this issue
Jul 28, 2021
* Update dependencies from https://github.com/dotnet/installer build 20210727.4 Microsoft.Dotnet.Sdk.Internal From Version 6.0.100-rc.1.21376.3 -> To Version 6.0.100-rc.1.21377.4 Dependency coherency updates Microsoft.NET.ILLink.Tasks From Version 6.0.100-preview.6.21370.1 -> To Version 6.0.100-preview.6.21376.2 (parent: Microsoft.Dotnet.Sdk.Internal * Bump Mono.Cecil from 0.11.3 to 0.11.4. * [dotnet-linker] Reference Mono.Cecil 0.11.4 directly. Works around dotnet/linker#2173. Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
sbomer
added a commit
that referenced
this issue
Jul 28, 2021
21 tasks
agocke
pushed a commit
to dotnet/runtime
that referenced
this issue
Nov 16, 2022
* Bump cecil package version The submodule update in dotnet/linker#2156 incremented the cecil version, but we were still using 0.11.3 as the version in our package graph. See dotnet/linker#1515 for more context on how this is set up. Fixes dotnet/linker#2173 * Remove unnecessary cast Commit migrated from dotnet/linker@0cb9250
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
NuGet: Microsoft.NET.ILLink v6.0.100-preview.6.21376.2.
The nuspec references Mono.Cecil 0.11.3:
While the illink.dll wants Mono.Cecil 0.11.4:
The end result is that if I reference the
Microsoft.NET.ILink
package, I end up with this build problem:because the build ends up referencing Mono.Cecil 0.11.3
Sample build log: msbuild.binlog.zip
CC @marek-safar
The text was updated successfully, but these errors were encountered: