How can I use .NET lock files (LockedMode) reliably across Windows, macOS, and Linux?
I'm trying to enforce deterministic dependency resolution using packages.lock.json with <LockedMode>true</LockedMode> in my .csproj.
The problem is: the lock file ends up being different depending on the platform I'm restoring on (Windows vs macOS vs Linux), likely due to how runtime-specific assets are resolved by default.
Is there any solution to able to run dotnet restore on any platform without modifying it?
1 Reply
Unknown User•3d ago
Message Not Public
Sign In & Join Server To View