mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
ICSharpCode.Decompiler / ILSpyX / BamlDecompiler set RestoreLockedMode but declared no RuntimeIdentifiers, so their lock files were RID-agnostic. A RID-specific 'dotnet publish -r <rid>' of ILSpy (which declares all four distribution RIDs) propagated the RID to these locked project references and failed restore with NU1004 unless --no-restore or --force-evaluate was used. Declare the same win-x64;win-arm64;linux-x64;osx-arm64 set on the three libraries and regenerate the locks so a locked-mode publish works for every platform out of the box. Assisted-by: Claude:claude-opus-4-8:Claude Codepull/3755/head
6 changed files with 24 additions and 4 deletions
Loading…
Reference in new issue