From ff1dfd76926764f9701755ec60c3e4362e2f5bd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Mon, 12 Oct 2026 16:34:23 +0100 Subject: [PATCH] Remove native version and move to native contract hash - Remove AssemblyNativeVersion attribute from AssemblyInfo.cs. - Update nuspec description and tags to use the native contract hash. - Update nanoFramework.CoreLibrary to 2.0.0-preview.63. Co-Authored-By: Claude Sonnet 5.5 --- System.Device.I2c/Properties/AssemblyInfo.cs | 5 ----- System.Device.I2c/System.Device.I2c.nfproj | 2 +- System.Device.I2c/packages.config | 2 +- System.Device.I2c/packages.lock.json | 6 +++--- nanoFramework.System.Device.I2c.nuspec | 6 +++--- 5 files changed, 8 insertions(+), 13 deletions(-) diff --git a/System.Device.I2c/Properties/AssemblyInfo.cs b/System.Device.I2c/Properties/AssemblyInfo.cs index 7b1f17b..56bad93 100644 --- a/System.Device.I2c/Properties/AssemblyInfo.cs +++ b/System.Device.I2c/Properties/AssemblyInfo.cs @@ -15,11 +15,6 @@ [assembly: AssemblyProduct("nanoFramework System.Device.I2c")] [assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")] -//////////////////////////////////////////////////////////////// -// update this whenever the native assembly signature changes // -[assembly: AssemblyNativeVersion("100.2.0.1")] -//////////////////////////////////////////////////////////////// - // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. diff --git a/System.Device.I2c/System.Device.I2c.nfproj b/System.Device.I2c/System.Device.I2c.nfproj index 170dd40..390bcdb 100644 --- a/System.Device.I2c/System.Device.I2c.nfproj +++ b/System.Device.I2c/System.Device.I2c.nfproj @@ -55,7 +55,7 @@ - ..\packages\nanoFramework.CoreLibrary.2.0.0-preview.52\lib\netnano1.0\mscorlib.dll + ..\packages\nanoFramework.CoreLibrary.2.0.0-preview.63\lib\netnano1.0\mscorlib.dll diff --git a/System.Device.I2c/packages.config b/System.Device.I2c/packages.config index 4b30da3..caf6fa6 100644 --- a/System.Device.I2c/packages.config +++ b/System.Device.I2c/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/System.Device.I2c/packages.lock.json b/System.Device.I2c/packages.lock.json index 1dc9a3c..0053969 100644 --- a/System.Device.I2c/packages.lock.json +++ b/System.Device.I2c/packages.lock.json @@ -4,9 +4,9 @@ ".NETnanoFramework,Version=v1.0": { "nanoFramework.CoreLibrary": { "type": "Direct", - "requested": "[2.0.0-preview.52, 2.0.0-preview.52]", - "resolved": "2.0.0-preview.52", - "contentHash": "cV9JEhoc2OV/UL602i5xmEwQpnn/gzVMlDTAIAMRxCNwBKNYLO9U50OkJykpGnO2SULTsmvFqQWEGZiuANBZHw==" + "requested": "[2.0.0-preview.63, 2.0.0-preview.63]", + "resolved": "2.0.0-preview.63", + "contentHash": "M2qEbjY8Uh5jpgrqDD7vJf2YXk3CmGbTHkb/t6w4F/aNyetOYk0LyekdwUSF0kZ+gTNMH/y6CTHBbJfgtMbIeA==" }, "Nerdbank.GitVersioning": { "type": "Direct", diff --git a/nanoFramework.System.Device.I2c.nuspec b/nanoFramework.System.Device.I2c.nuspec index 5d3d08b..a1f8485 100644 --- a/nanoFramework.System.Device.I2c.nuspec +++ b/nanoFramework.System.Device.I2c.nuspec @@ -16,11 +16,11 @@ Copyright (c) .NET Foundation and Contributors This package includes the System.Device.I2c assembly for nanoFramework C# projects. -This package requires a target with System.Device.I2c v$nativeVersion$ (checksum $checksum$). - nanoFramework C# csharp netmf netnf I2c +This package requires a target with System.Device.I2c native contract hash $nativeContractHash$. + nanoFramework C# csharp netmf netnf I2c nfnc-$nativeContractHash$ - +