Kept the NuGet lock file the same on every platform (#1064)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-15 18:45:38 +02:00
1 parent 30f38fa94b
commit d8071910d9
2 files changed
+90

No files matched your search

@@ -17,6 +17,16 @@
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> <!-- Include native libraries for self-extract -->
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest> <!-- Generate embedded files manifest -->
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> <!-- Restore packages with lock file; needed for caching NuGet packages-->
<!--
SelfContained makes the SDK pick the RID of the machine which runs the restore, and the lock file
records that RID. Without a fixed list, a restore on any other platform rewrites the lock file.
Hence, we list all six RIDs we ship, so that the lock file stays the same everywhere. When we add a
platform, add its RID here as well. The price: each restore downloads the runtime packs of all six
platforms. Please note that `dotnet restore -r` replaces this list; use a plain `dotnet restore` or
`dotnet publish -r` instead.
-->
<RuntimeIdentifiers>osx-arm64;osx-x64;linux-x64;linux-arm64;win-x64;win-arm64</RuntimeIdentifiers>
<PublishTrimmed>true</PublishTrimmed> <!-- Publish with trimming, to reduce size -->
<TrimMode>partial</TrimMode> <!-- Trim unused assemblies, but keep all assemblies referenced by the project -->
+80
View File
@@ -411,6 +411,38 @@
"type": "Project"
}
},
"net9.0/linux-arm64": {
"SQLite": {
"type": "Transitive",
"resolved": "3.53.4",
"contentHash": "KN7jeWqgUPeBRe1FlcpZURzxomuKKEKHmBBQfg+Nx7NkY1LjKhzHvH+3ASkNvhayESE34nMBinL9CV21JfPRJw=="
},
"System.Security.Cryptography.Pkcs": {
"type": "Transitive",
"resolved": "10.0.0",
"contentHash": "UPWqLSygJlFerRi9XNIuM0a1VC8gHUIufyP24xQ0sc+XimqUAEcjpOz9DhKpyDjH+5B/wO3RpC0KpkEeDj/ddg==",
"dependencies": {
"Microsoft.Bcl.Cryptography": "10.0.0",
"System.Formats.Asn1": "10.0.0"
}
}
},
"net9.0/linux-x64": {
"SQLite": {
"type": "Transitive",
"resolved": "3.53.4",
"contentHash": "KN7jeWqgUPeBRe1FlcpZURzxomuKKEKHmBBQfg+Nx7NkY1LjKhzHvH+3ASkNvhayESE34nMBinL9CV21JfPRJw=="
},
"System.Security.Cryptography.Pkcs": {
"type": "Transitive",
"resolved": "10.0.0",
"contentHash": "UPWqLSygJlFerRi9XNIuM0a1VC8gHUIufyP24xQ0sc+XimqUAEcjpOz9DhKpyDjH+5B/wO3RpC0KpkEeDj/ddg==",
"dependencies": {
"Microsoft.Bcl.Cryptography": "10.0.0",
"System.Formats.Asn1": "10.0.0"
}
}
},
"net9.0/osx-arm64": {
"SQLite": {
"type": "Transitive",
@@ -426,6 +458,54 @@
"System.Formats.Asn1": "10.0.0"
}
}
},
"net9.0/osx-x64": {
"SQLite": {
"type": "Transitive",
"resolved": "3.53.4",
"contentHash": "KN7jeWqgUPeBRe1FlcpZURzxomuKKEKHmBBQfg+Nx7NkY1LjKhzHvH+3ASkNvhayESE34nMBinL9CV21JfPRJw=="
},
"System.Security.Cryptography.Pkcs": {
"type": "Transitive",
"resolved": "10.0.0",
"contentHash": "UPWqLSygJlFerRi9XNIuM0a1VC8gHUIufyP24xQ0sc+XimqUAEcjpOz9DhKpyDjH+5B/wO3RpC0KpkEeDj/ddg==",
"dependencies": {
"Microsoft.Bcl.Cryptography": "10.0.0",
"System.Formats.Asn1": "10.0.0"
}
}
},
"net9.0/win-arm64": {
"SQLite": {
"type": "Transitive",
"resolved": "3.53.4",
"contentHash": "KN7jeWqgUPeBRe1FlcpZURzxomuKKEKHmBBQfg+Nx7NkY1LjKhzHvH+3ASkNvhayESE34nMBinL9CV21JfPRJw=="
},
"System.Security.Cryptography.Pkcs": {
"type": "Transitive",
"resolved": "10.0.0",
"contentHash": "UPWqLSygJlFerRi9XNIuM0a1VC8gHUIufyP24xQ0sc+XimqUAEcjpOz9DhKpyDjH+5B/wO3RpC0KpkEeDj/ddg==",
"dependencies": {
"Microsoft.Bcl.Cryptography": "10.0.0",
"System.Formats.Asn1": "10.0.0"
}
}
},
"net9.0/win-x64": {
"SQLite": {
"type": "Transitive",
"resolved": "3.53.4",
"contentHash": "KN7jeWqgUPeBRe1FlcpZURzxomuKKEKHmBBQfg+Nx7NkY1LjKhzHvH+3ASkNvhayESE34nMBinL9CV21JfPRJw=="
},
"System.Security.Cryptography.Pkcs": {
"type": "Transitive",
"resolved": "10.0.0",
"contentHash": "UPWqLSygJlFerRi9XNIuM0a1VC8gHUIufyP24xQ0sc+XimqUAEcjpOz9DhKpyDjH+5B/wO3RpC0KpkEeDj/ddg==",
"dependencies": {
"Microsoft.Bcl.Cryptography": "10.0.0",
"System.Formats.Asn1": "10.0.0"
}
}
}
}
}