Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,15 @@ private static NativeRuntimeSettings DefaultSettings()
new NativeRuntimeAssetConfiguration("win7-x86", "AnyCPU", null, "Windows", BuildTarget.StandaloneWindows),
new NativeRuntimeAssetConfiguration("win-x64", "x86_64", null, "Windows", BuildTarget.StandaloneWindows64),
new NativeRuntimeAssetConfiguration("win-x86", "AnyCPU", null, "Windows", BuildTarget.StandaloneWindows),
new NativeRuntimeAssetConfiguration("win-arm64", "ARM64", null, "Windows", BuildTarget.StandaloneWindows64),
new NativeRuntimeAssetConfiguration("linux-x64", "x86_64", "x86_64", "Linux", BuildTarget.StandaloneLinux64),
new NativeRuntimeAssetConfiguration("linux-arm64", "ARM64", null, "Linux", BuildTarget.StandaloneLinux64),
new NativeRuntimeAssetConfiguration("android", null, null, null, BuildTarget.Android),
new NativeRuntimeAssetConfiguration("android-x64", "x86_64", null, null, BuildTarget.Android),
new NativeRuntimeAssetConfiguration("android-arm", null, null, null, BuildTarget.Android),
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The android-arm runtime identifier typically refers to ARMv7 architecture. Consider setting the CPU architecture to "ARMv7" instead of null to ensure proper platform targeting for ARMv7 devices. This would be consistent with how other architecture-specific entries like android-x64 and android-arm64 explicitly specify their CPU architecture.

Suggested change
new NativeRuntimeAssetConfiguration("android-arm", null, null, null, BuildTarget.Android),
new NativeRuntimeAssetConfiguration("android-arm", "ARMv7", null, null, BuildTarget.Android),

Copilot uses AI. Check for mistakes.
new NativeRuntimeAssetConfiguration("android-arm64", "ARM64", null, null, BuildTarget.Android),
new NativeRuntimeAssetConfiguration("ios", null, null, null, BuildTarget.iOS),
new NativeRuntimeAssetConfiguration("ios-x64", "x86_64", null, null, BuildTarget.iOS),
Comment on lines +78 to +86
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NativeSettingsTest in NuGetTests.cs only tests a subset of runtime configurations (win7-x64, win7-x86, win-x64, win-x86, linux-x64, osx-x64). Consider adding test cases for the newly added runtime configurations (win-arm64, linux-arm64, android-x64, android-arm, ios-x64) to ensure they are properly deserialized and have the expected BuildTarget values.

Copilot uses AI. Check for mistakes.
new NativeRuntimeAssetConfiguration("ios-arm64", "ARM64", null, null, BuildTarget.iOS),
new NativeRuntimeAssetConfiguration("osx-x64", "x86_64", null, "OSX", BuildTarget.StandaloneOSX),
new NativeRuntimeAssetConfiguration("osx-arm64", "ARM64", null, null, BuildTarget.StandaloneOSX),
Expand Down
Loading