From 8bd803dbbf29ffa3f54a07c191f85bd25bdb8754 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Sun, 28 Jul 2024 15:44:55 +0100 Subject: [PATCH 01/10] Update azure-pipelines.yml Remove Windows.Storage and Storage.Streams These are deprecated. --- azure-pipelines.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2888a8caf..768c4fd9a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -163,10 +163,6 @@ steps: git clone https://github.com/nanoframework/System.Device.Pwm.git --depth 100 -b main libs/System.Device.Pwm git clone https://github.com/nanoframework/System.Device.Spi.git --depth 100 -b main libs/System.Device.Spi - - git clone https://github.com/nanoframework/Windows.Storage.git --depth 100 -b main libs/Windows.Storage - - git clone https://github.com/nanoframework/Windows.Storage.Streams.git --depth 100 -b main libs/Windows.Storage.Streams git clone https://github.com/nanoframework/System.Device.Adc.git --depth 100 -b main libs/System.Device.Adc From 5b3124c004d1b7a8621089fd74a11bb3eada1bec Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Tue, 25 Nov 2025 17:21:41 +0100 Subject: [PATCH 02/10] removing weird linter rule --- .markdownlint.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.markdownlint.json b/.markdownlint.json index 0b6826ae5..6889658d6 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -1,5 +1,6 @@ { "MD013": false, "MD033": false, - "MD059": false + "MD059": false, + "MD060": false } From a4dd5222dc0266197ef59bb2523fbc7e191cf907 Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Tue, 25 Nov 2025 18:11:01 +0100 Subject: [PATCH 03/10] excluding CoreLibrary\nanoFramework.CoreLibrary.Benchmarks --- docfx.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docfx.json b/docfx.json index 0571c0c91..4513febd6 100644 --- a/docfx.json +++ b/docfx.json @@ -35,7 +35,8 @@ "**/PropertyChanged/**", "**/TestAppv5*/**", "**/TestMqtt*/**", - "**/Microsoft.ApplicationInsights.*/**" + "**/Microsoft.ApplicationInsights.*/**", + "**/CoreLibrary\nanoFramework.CoreLibrary.Benchmarks/**" ] } ], From b3e72a9c323366ebd3a069a213cc5c1a4ae82ab3 Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Tue, 25 Nov 2025 18:21:34 +0100 Subject: [PATCH 04/10] nit --- docfx.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docfx.json b/docfx.json index 4513febd6..b0f14b722 100644 --- a/docfx.json +++ b/docfx.json @@ -36,7 +36,7 @@ "**/TestAppv5*/**", "**/TestMqtt*/**", "**/Microsoft.ApplicationInsights.*/**", - "**/CoreLibrary\nanoFramework.CoreLibrary.Benchmarks/**" + "**/CoreLibrary/nanoFramework.CoreLibrary.Benchmarks/**" ] } ], From 26b59f1f501b42b9841ed7d11415f8bc93a33811 Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Wed, 26 Nov 2025 09:29:04 +0100 Subject: [PATCH 05/10] another try to excluse corelib banchmark --- docfx.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docfx.json b/docfx.json index b0f14b722..db2196927 100644 --- a/docfx.json +++ b/docfx.json @@ -36,7 +36,7 @@ "**/TestAppv5*/**", "**/TestMqtt*/**", "**/Microsoft.ApplicationInsights.*/**", - "**/CoreLibrary/nanoFramework.CoreLibrary.Benchmarks/**" + "**/nanoFramework.CoreLibrary.Benchmarks/**" ] } ], From 9d3ba4dbc97ffb894a94b2c9b2b50546aa3aa8ab Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Wed, 26 Nov 2025 10:10:43 +0100 Subject: [PATCH 06/10] manually removing benchmarjk --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5b0a0ae67..fe1d128da 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -285,6 +285,7 @@ steps: script: | Remove-Item -Force libs\CoreLibrary\nanoFramework.TestFramework\nanoFramework.TestAdapter.sln Remove-Item -Force libs\nanoFramework.M2Mqtt\nanoFramework.Mqtt.TestApps.sln + Remove-Item -Recurse -Force libs\CoreLibrary\nanoFramework.CoreLibrary.Benchmarks - powershell: choco install docfx-companion-tools -y displayName: Install the docfx helpers From 4c149d4a7e57db1052e65a1026875407a58b5ba3 Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Wed, 26 Nov 2025 11:12:57 +0100 Subject: [PATCH 07/10] cleaninb sample folders for iot devices --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fe1d128da..f3b764414 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -606,6 +606,25 @@ steps: msbuildArchitecture: 'x64' maximumCpuCount: true +# Clean up samples folder from IoT.Device before building +- task: PowerShell@2 + displayName: Remove samples folder from IoT.Device + condition: >- + and( + succeeded(), + or( + eq(variables['BUILD_ALL'], 'true'), + contains(variables['BuildOptions.COMMIT_MESSAGE'], '***BUILD_ALL***'), + eq(variables['BuildOptions.BUILD_ALL'], 'true') + ) + ) + inputs: + targetType: 'inline' + script: | + if (Test-Path "nanoFramework.IoT.Device\devices\samples") { + Remove-Item -Recurse -Force nanoFramework.IoT.Device\devices\samples + } + # This should build all the bindings in nanoFramework.IoT.Device in the devices directory - task: PowerShell@2 displayName: Build all from nanoFramework.IoT.Device From 7dead1a14cba9e5c1b9384a27a3494e7cfc609aa Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Wed, 26 Nov 2025 13:11:23 +0100 Subject: [PATCH 08/10] fixing MD060 --- .markdownlint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.markdownlint.json b/.markdownlint.json index 213a405a9..b92f0a28c 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -3,5 +3,5 @@ "MD033": false, "MD056": true, "MD059": false, - "MD060" : { "style": "any" } + "MD060": false } From 976aa50b295e1f08f9f7c87fb5f8c19b85739137 Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Mon, 1 Dec 2025 11:43:05 +0100 Subject: [PATCH 09/10] reverting changes for windows stoarge and stream --- azure-pipelines.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f3b764414..3f63dea59 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -165,7 +165,11 @@ steps: git clone https://github.com/nanoframework/System.Device.Pwm.git --depth 100 -b main libs/System.Device.Pwm git clone https://github.com/nanoframework/System.Device.Spi.git --depth 100 -b main libs/System.Device.Spi - + + git clone https://github.com/nanoframework/Windows.Storage.git --depth 100 -b main libs/Windows.Storage + + git clone https://github.com/nanoframework/Windows.Storage.Streams.git --depth 100 -b main libs/Windows.Storage.Streams + git clone https://github.com/nanoframework/System.Device.Adc.git --depth 100 -b main libs/System.Device.Adc git clone https://github.com/nanoframework/System.Device.WiFi.git -b main libs/System.Device.WiFi From 597be8aa283897c4e98db37688a32b4edde170a7 Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Tue, 2 Dec 2025 11:18:57 +0100 Subject: [PATCH 10/10] adjusting --- azure-pipelines.yml | 19 ------------------- docfx.json | 4 +--- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a41ba874d..9215925db 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -613,25 +613,6 @@ steps: msbuildArchitecture: 'x64' maximumCpuCount: true -# Clean up samples folder from IoT.Device before building -- task: PowerShell@2 - displayName: Remove samples folder from IoT.Device - condition: >- - and( - succeeded(), - or( - eq(variables['BUILD_ALL'], 'true'), - contains(variables['BuildOptions.COMMIT_MESSAGE'], '***BUILD_ALL***'), - eq(variables['BuildOptions.BUILD_ALL'], 'true') - ) - ) - inputs: - targetType: 'inline' - script: | - if (Test-Path "nanoFramework.IoT.Device\devices\samples") { - Remove-Item -Recurse -Force nanoFramework.IoT.Device\devices\samples - } - # This should build all the bindings in nanoFramework.IoT.Device in the devices directory - task: PowerShell@2 displayName: Build all from nanoFramework.IoT.Device diff --git a/docfx.json b/docfx.json index db2196927..bf63afefd 100644 --- a/docfx.json +++ b/docfx.json @@ -34,9 +34,7 @@ "**/Newtonsoft.*/**", "**/PropertyChanged/**", "**/TestAppv5*/**", - "**/TestMqtt*/**", - "**/Microsoft.ApplicationInsights.*/**", - "**/nanoFramework.CoreLibrary.Benchmarks/**" + "**/TestMqtt*/**" ] } ],