diff --git a/Documentation/How-to-Deploy-an-IoT-App.md b/Documentation/How-to-Deploy-an-IoT-App.md
index 80ea885742ed841b45edb81f0f769c8225a41bee..e7ed66054785fb5b88ca8450c74f7b2c70312254 100644
--- a/Documentation/How-to-Deploy-an-IoT-App.md
+++ b/Documentation/How-to-Deploy-an-IoT-App.md
@@ -33,7 +33,7 @@ This provides information how to prepare a Publish Profile and deploy an applica
FileSystem
Release
Any CPU
- netcoreapp2.1
+ netcoreapp3.1
C:\PublishedApps
linux-arm
true
diff --git a/eng/sendToHelix.proj b/eng/sendToHelix.proj
index f94a1521179ea1448f411b1dc6eabab616b96968..d37984dbc036dd963f91096dbbd8b424e6f51846 100644
--- a/eng/sendToHelix.proj
+++ b/eng/sendToHelix.proj
@@ -12,7 +12,7 @@
true
sdk
- 2.2.300
+ 3.1.405
true
$(AGENT_JOBNAME)
@@ -34,7 +34,7 @@
- netcoreapp2.1
+ netcoreapp3.1
netcoreapp2.0
@@ -53,7 +53,7 @@
- netcoreapp2.1
+ netcoreapp3.1
netcoreapp2.0
@@ -91,4 +91,4 @@
msbuild
-
\ No newline at end of file
+
diff --git a/global.json b/global.json
index cadf00f3f67b25a381fbd5f3d283770f0aa533ef..c1c20d2c19b8f76ca693319d1f645e9ba8c503f2 100644
--- a/global.json
+++ b/global.json
@@ -3,8 +3,7 @@
"dotnet": "6.0.100",
"runtimes": {
"dotnet/x64": [
- "2.1.25",
- "5.0.7"
+ "3.1.21"
]
}
},
diff --git a/samples/bmp280-sensor-azure-iot-hub/DNSensorAzureIoTHub.csproj b/samples/bmp280-sensor-azure-iot-hub/DNSensorAzureIoTHub.csproj
index 292f4c30ef1df0b0cbbe93859e4a2e429f89345d..d5a25571883edf21e49ab5bc065296af92be43df 100644
--- a/samples/bmp280-sensor-azure-iot-hub/DNSensorAzureIoTHub.csproj
+++ b/samples/bmp280-sensor-azure-iot-hub/DNSensorAzureIoTHub.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
AnyCPU;ARM32
diff --git a/samples/bmp280-sensor-azure-iot-hub/Readme.md b/samples/bmp280-sensor-azure-iot-hub/Readme.md
index ae248b70f7870d3e39bb98428db06ade4284272a..b7bf54f1f9404149f6da9577349cc0007fbd77b3 100644
--- a/samples/bmp280-sensor-azure-iot-hub/Readme.md
+++ b/samples/bmp280-sensor-azure-iot-hub/Readme.md
@@ -106,7 +106,7 @@ You can deploy and debug your solution or just deploy your solution without debu
```bash
dotnet publish -r linux-arm /p:ShowLinkerSizeComparison=true
- pushd .\bin\Debug\net5.0\linux-arm\publish
+ pushd .\bin\Debug\net6.0\linux-arm\publish
pscp -pw 1234 -v -r .\* pi@192.168.1.147:DNSensorAzureIoTHub
popd
```
@@ -117,7 +117,7 @@ You can deploy and debug your solution or just deploy your solution without debu
```bash
dotnet publish -r linux-arm
- cd .\bin\Debug\net5.0\linux-arm\
+ cd .\bin\Debug\net6.0\linux-arm\
scp publish\* pi@192.168.1.109:BlinkTutorial
```
diff --git a/samples/force-sensitive-resistor/force-sensitive-resistor.csproj b/samples/force-sensitive-resistor/force-sensitive-resistor.csproj
index b74cdb2cf3f70199c0d0fbd044b24d1b988e0659..78993f701336cc0577e9bb08ed94db9d8297fb98 100644
--- a/samples/force-sensitive-resistor/force-sensitive-resistor.csproj
+++ b/samples/force-sensitive-resistor/force-sensitive-resistor.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
enable
diff --git a/samples/led-animate/led-animate.csproj b/samples/led-animate/led-animate.csproj
index 9084a6d083b1b2403d5f54777d00eb1e2f037e2c..a952116d1e9d249240d61fe2d371cdf90de1d42a 100644
--- a/samples/led-animate/led-animate.csproj
+++ b/samples/led-animate/led-animate.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
enable
diff --git a/samples/led-blink-multiple/led-blink-multiple.csproj b/samples/led-blink-multiple/led-blink-multiple.csproj
index bfb51cb467ee5afb71380c3d0f6476a724a77210..322504ba0d4afae666b6aaeef71e2e249dc5a432 100644
--- a/samples/led-blink-multiple/led-blink-multiple.csproj
+++ b/samples/led-blink-multiple/led-blink-multiple.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
enable
diff --git a/samples/led-blink/led-blink.csproj b/samples/led-blink/led-blink.csproj
index 1cbd3a131fe8efb44d16c4664be3cc5d82b6e98f..b0c1769cca1df68f79ba3cec976a1b76e9478111 100644
--- a/samples/led-blink/led-blink.csproj
+++ b/samples/led-blink/led-blink.csproj
@@ -2,10 +2,10 @@
Exe
- net5.0
+ net6.0
enable
diff --git a/samples/led-matrix-weather/led-matrix-weather.csproj b/samples/led-matrix-weather/led-matrix-weather.csproj
index 4a8fde84d8668ca8d42f3fe96ecf4b2e3cd1485a..e6765edf6f969637230d92b64fcd317601c63b11 100644
--- a/samples/led-matrix-weather/led-matrix-weather.csproj
+++ b/samples/led-matrix-weather/led-matrix-weather.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
enable
diff --git a/samples/led-more-blinking-lights/led-more-blinking-lights.csproj b/samples/led-more-blinking-lights/led-more-blinking-lights.csproj
index b74cdb2cf3f70199c0d0fbd044b24d1b988e0659..78993f701336cc0577e9bb08ed94db9d8297fb98 100644
--- a/samples/led-more-blinking-lights/led-more-blinking-lights.csproj
+++ b/samples/led-more-blinking-lights/led-more-blinking-lights.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
enable
diff --git a/samples/led-shift-register/led-shift-register.csproj b/samples/led-shift-register/led-shift-register.csproj
index 9be1d436d6769a745b4c8b0ac12ecfdd63329d43..58ee17b7178ee45199c1a162f1a3336eef549ab6 100644
--- a/samples/led-shift-register/led-shift-register.csproj
+++ b/samples/led-shift-register/led-shift-register.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
diff --git a/samples/serialport-arduino/serialport-arduino.csproj b/samples/serialport-arduino/serialport-arduino.csproj
index 73d36b48779c53e51260f344a43924bced2724c5..701b3dee34a11e14ffdb1433d8662e8807bef945 100644
--- a/samples/serialport-arduino/serialport-arduino.csproj
+++ b/samples/serialport-arduino/serialport-arduino.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
enable
diff --git a/src/Iot.Device.Bindings/CompatibilitySuppressions.xml b/src/Iot.Device.Bindings/CompatibilitySuppressions.xml
index df684545d9435f663d0fc8434d3860ebf0dfdb2b..d309ac8f92214b5152c39e52f35ca113883944a1 100644
--- a/src/Iot.Device.Bindings/CompatibilitySuppressions.xml
+++ b/src/Iot.Device.Bindings/CompatibilitySuppressions.xml
@@ -1,743 +1,730 @@
+
+ CP0003
+ lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
+ true
+
CP0002
M:System.Device.Pwm.Drivers.SoftwarePwmChannel.#ctor(System.Int32,System.Int32,System.Double,System.Boolean,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0001
T:Iot.Units.Temperature
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Ws28xx.Ws28xx.set_Image(Iot.Device.Graphics.BitmapImage)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Ws28xx.Ws28xx.#ctor(System.Device.Spi.SpiDevice)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Vl53L0X.Information.#ctor
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Vl53L0X.Vl53L0X.get_DistanceContinous
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Uln2003.Uln2003.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Tm1637.Tm1637.get_MaxSegments
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Tm1637.Tm1637.#ctor(System.Int32,System.Int32,System.Device.Gpio.PinNumberingScheme,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Tm1637.Tm1637.get_SegmentOrder
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Tm1637.Tm1637.set_SegmentOrder(System.Byte[])
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Ssd13xx.Ssd13xx.SendData(System.Byte[])
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Ssd1351.Ssd1351.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Spi.SoftwareSpi.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Device.Spi.SpiConnectionSettings,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.SenseHat.SenseHat.#ctor
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.RadioReceiver.Tea5767.#ctor(System.Device.I2c.I2cDevice,Iot.Device.RadioReceiver.FrequencyRange,System.Double)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Pcx857x.Pca8574.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Pcx857x.Pca8575.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Pcx857x.Pcf8574.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Pcx857x.Pcf8575.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Pcx857x.Pcx8574.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Pcx857x.Pcx8575.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Pcx857x.Pcx857x.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Pca95x4.Pca95x4.#ctor(System.Device.I2c.I2cDevice,System.Nullable{System.Int32})
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Nrf24l01.Nrf24l01.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Byte,System.Byte,Iot.Device.Nrf24l01.OutputPower,Iot.Device.Nrf24l01.DataRate,System.Device.Gpio.PinNumberingScheme)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp25xxx.Mcp2515.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp25xxx.Mcp25625.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp25xxx.Mcp25xxx.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23xxx.#ctor(Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController,Iot.Device.Mcp23xxx.BankStyle)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23008.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23009.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23017.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23018.#ctor(System.Device.I2c.I2cDevice,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23s08.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23s09.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23s17.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23s18.#ctor(System.Device.Spi.SpiDevice,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23x0x.#ctor(Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Mcp23xxx.Mcp23x1x.#ctor(Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter,System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Hcsr501.Hcsr501.#ctor(System.Int32,System.Device.Gpio.PinNumberingScheme)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.GrovePiDevice.GrovePi.GetFirmwareVerion
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.GrovePiDevice.Models.Info.#ctor
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.GoPiGo3.GoPiGo.get_GroveSensor
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.GoPiGo3.Models.GoPiGoInfo.#ctor
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
F:Iot.Device.GoPiGo3.Models.SpiMessageType.setMotorLimits
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DHTxx.Dht11.#ctor(System.Int32,System.Device.Gpio.PinNumberingScheme)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DHTxx.Dht12.#ctor(System.Int32,System.Device.Gpio.PinNumberingScheme)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DHTxx.Dht21.#ctor(System.Int32,System.Device.Gpio.PinNumberingScheme)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DHTxx.Dht22.#ctor(System.Int32,System.Device.Gpio.PinNumberingScheme)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DHTxx.DhtBase.#ctor(System.Int32,System.Device.Gpio.PinNumberingScheme)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DCMotor.DCMotor.#ctor(System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DCMotor.DCMotor.Dispose(System.Boolean)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DCMotor.DCMotor.Create(System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DCMotor.DCMotor.Create(System.Device.Pwm.PwmChannel,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DCMotor.DCMotor.Create(System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DCMotor.DCMotor.Create(System.Device.Pwm.PwmChannel,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.DCMotor.DCMotor.Create(System.Int32,System.Int32,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0009
T:Iot.Device.CpuTemperature.CpuTemperature
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
F:Iot.Device.CharacterLcd.Hd44780._interface
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.Hd44780.#ctor(System.Drawing.Size,Iot.Device.CharacterLcd.LcdInterface)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.Hd44780.CreateCustomCharacter(System.Byte,System.Byte[])
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.Hd44780.CreateCustomCharacter(System.Byte,System.ReadOnlySpan{System.Byte})
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.Hd44780.Dispose(System.Boolean)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.Lcd1602.#ctor(System.Int32,System.Int32,System.Int32[],System.Int32,System.Single,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.Lcd1602.#ctor(System.Device.I2c.I2cDevice)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.Lcd2004.#ctor(System.Int32,System.Int32,System.Int32[],System.Int32,System.Single,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.LcdInterface.CreateGpio(System.Int32,System.Int32,System.Int32[],System.Int32,System.Single,System.Int32,System.Device.Gpio.GpioController)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.CharacterLcd.LcdInterface.CreateI2c(System.Device.I2c.I2cDevice)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0005
M:Iot.Device.CharacterLcd.LcdInterface.SendData(System.ReadOnlySpan{System.Char})
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0001
T:Iot.Device.CharacterLcd.LcdRgb1602
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.BrickPi3.Models.BrickPiInfo.#ctor
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
F:Iot.Device.BrickPi3.Models.SpiMessageType.setMotorDps
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
F:Iot.Device.BrickPi3.Models.SpiMessageType.setMotorDpsKD
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
F:Iot.Device.BrickPi3.Models.SpiMessageType.setMotorLimits
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bno055.Info.#ctor
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bme280.ReadHumiditySampling
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bme280.SetHumiditySampling(Iot.Device.Bmxx80.Sampling)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bme280.ReadHumidityAsync
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bme680.SetHumiditySampling(Iot.Device.Bmxx80.Sampling)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bme680.ReadHasNewData
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bme680.ReadHumidityAsync
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bme680.ReadPressureAsync
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bme680.ReadTemperatureAsync
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmx280Base.ReadFilterMode
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmx280Base.ReadTemperatureAsync
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmx280Base.ReadPressureAsync
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmx280Base.ReadAltitudeAsync(System.Double)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmx280Base.SetFilterMode(Iot.Device.Bmxx80.FilteringMode)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmx280Base.SetStandbyTime(Iot.Device.Bmxx80.StandbyTime)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmx280Base.ReadStandbyTime
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmxx80Base.SetPressureSampling(Iot.Device.Bmxx80.Sampling)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmxx80Base.SetTemperatureSampling(Iot.Device.Bmxx80.Sampling)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmxx80Base.ReadPressureSampling
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmxx80Base.ReadTemperatureSampling
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmxx80Base.get__tempCalibrationFactor
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmxx80Base.Read16BitsFromRegister(System.Byte)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmxx80.Bmxx80Base.Read24BitsFromRegister(System.Byte)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0005
M:Iot.Device.Bmxx80.Bmxx80Base.TryReadTemperature(UnitsNet.Temperature@)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0005
M:Iot.Device.Bmxx80.Bmxx80Base.TryReadPressure(UnitsNet.Pressure@)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0001
T:Iot.Device.Bmxx80.FilteringMode
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmp180.Bmp180.ReadAltitude(System.Double)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Bmp180.Bmp180.ReadSeaLevelPressure(System.Double)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
CP0002
M:Iot.Device.Ads1115.Ads1115.#ctor(System.Device.I2c.I2cDevice,Iot.Device.Ads1115.InputMultiplexer,Iot.Device.Ads1115.MeasuringRange,Iot.Device.Ads1115.DataRate)
lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
- true
-
-
- CP1002
- Windows.Foundation.FoundationContract.dll
-
-
- CP1002
- Windows.Devices.DevicesLowLevelContract.dll
-
-
- CP1002
- Windows.Foundation.UniversalApiContract.dll
-
-
-
- CP0003
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
- lib/netcoreapp2.1/Iot.Device.Bindings.dll
+ lib/netstandard2.0/Iot.Device.Bindings.dll
true
diff --git a/src/Iot.Device.Bindings/Iot.Device.Bindings.csproj b/src/Iot.Device.Bindings/Iot.Device.Bindings.csproj
index 783e9636dadbe9a06c043f402b38803da8007937..835b9bb91240795134c4c85002932768be177696 100644
--- a/src/Iot.Device.Bindings/Iot.Device.Bindings.csproj
+++ b/src/Iot.Device.Bindings/Iot.Device.Bindings.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;net5.0;netcoreapp2.1
+ netstandard2.0;net6.0;netcoreapp3.1
9
enable
$(DefineConstants);BUILDING_IOT_DEVICE_BINDINGS
diff --git a/src/System.Device.Gpio.Tests/README.md b/src/System.Device.Gpio.Tests/README.md
index 05fd6b427eeeedda71feaa16cc16dac99fe83a7c..763634773f8ea1c3720f9b002e40ee6dbb8ee637 100644
--- a/src/System.Device.Gpio.Tests/README.md
+++ b/src/System.Device.Gpio.Tests/README.md
@@ -53,7 +53,7 @@ Alternatively, you can run the tests using the xunit console runner, which allow
XUnit.console.runner is installed as a nuget package on the system in your home directory during the build. From the root of the project directory, execute:
```shell
-pi@raspberrypi:~/projects/iot $ dotnet exec ~/.nuget/packages/xunit.runner.console/2.4.1/tools/netcoreapp2.0/xunit.console.dll artifacts/bin/System.Device.Gpio.Tests/Debug/netcoreapp2.1/System.Device.Gpio.Tests.dll -notrait "SkipOnTestRun=Windows_NT" -notrait "feature=i2c"
+pi@raspberrypi:~/projects/iot $ dotnet exec ~/.nuget/packages/xunit.runner.console/2.4.1/tools/netcoreapp2.0/xunit.console.dll artifacts/bin/System.Device.Gpio.Tests/Debug/netcoreapp3.1/System.Device.Gpio.Tests.dll -notrait "SkipOnTestRun=Windows_NT" -notrait "feature=i2c"
```
This runs the tests excluding the I2C tests (-notrait "feature-i2c") and excluding the Windows tests (-notrait "SkipOnTestRun=Windows_NT").
diff --git a/src/System.Device.Gpio.Tests/System.Device.Gpio.Tests.csproj b/src/System.Device.Gpio.Tests/System.Device.Gpio.Tests.csproj
index 522cd89713afa92b71dd3623f72f155b46203b44..5314aac4159f49a684e6a7e4a40cab46c9b23b49 100644
--- a/src/System.Device.Gpio.Tests/System.Device.Gpio.Tests.csproj
+++ b/src/System.Device.Gpio.Tests/System.Device.Gpio.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
9
false
diff --git a/src/System.Device.Gpio/CompatibilitySuppressions.xml b/src/System.Device.Gpio/CompatibilitySuppressions.xml
index af1d0a926fed10c440def357053bafccd90e3a08..cc9300cfd66a7d4ffae20e148823aa6972240490 100644
--- a/src/System.Device.Gpio/CompatibilitySuppressions.xml
+++ b/src/System.Device.Gpio/CompatibilitySuppressions.xml
@@ -1,137 +1,104 @@
-
- CP0007
- T:System.Device.Gpio.Drivers.HummingBoardDriver
- runtimes/win/lib/netstandard2.0/System.Device.Gpio.dll
- lib/netstandard2.0/System.Device.Gpio.dll
- true
-
-
- CP0002
- M:System.Device.Gpio.Drivers.LibGpiodDriver.#ctor
- runtimes/win/lib/netstandard2.0/System.Device.Gpio.dll
- lib/netstandard2.0/System.Device.Gpio.dll
- true
-
-
- CP0007
- T:System.Device.Gpio.Drivers.RaspberryPi3Driver
- runtimes/win/lib/netstandard2.0/System.Device.Gpio.dll
- lib/netstandard2.0/System.Device.Gpio.dll
- true
-
-
- CP1002
- Windows.Foundation.FoundationContract.dll
-
-
- CP1002
- Windows.Devices.DevicesLowLevelContract.dll
-
-
- CP1002
- Windows.Foundation.UniversalApiContract.dll
-
CP1003
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0008
T:System.Device.Spi.DataFlow
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Spi.DataFlow.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0008
T:System.Device.Spi.SpiMode
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Spi.SpiMode.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0008
T:System.Device.Gpio.PinChangeEventHandler
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0008
T:System.Device.Gpio.PinEventTypes
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Gpio.PinEventTypes.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0008
T:System.Device.Gpio.PinMode
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Gpio.PinMode.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0008
T:System.Device.Gpio.PinNumberingScheme
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Gpio.PinNumberingScheme.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Gpio.PinValue.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Gpio.PinValuePair.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Gpio.WaitForEventResult.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0008
T:System.Device.Gpio.Drivers.RaspberryPi3Driver.AltMode
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
CP0002
M:System.Device.Gpio.Drivers.RaspberryPi3Driver.AltMode.#ctor
lib/netstandard2.0/System.Device.Gpio.dll
- lib/net5.0-windows10.0.17763/System.Device.Gpio.dll
+ lib/net6.0-windows10.0.17763/System.Device.Gpio.dll
@@ -140,6 +107,27 @@
lib/netstandard2.0/System.Device.Gpio.dll
true
+
+ CP0007
+ T:System.Device.Gpio.Drivers.HummingBoardDriver
+ runtimes/win/lib/netstandard2.0/System.Device.Gpio.dll
+ lib/netstandard2.0/System.Device.Gpio.dll
+ true
+
+
+ CP0002
+ M:System.Device.Gpio.Drivers.LibGpiodDriver.#ctor
+ runtimes/win/lib/netstandard2.0/System.Device.Gpio.dll
+ lib/netstandard2.0/System.Device.Gpio.dll
+ true
+
+
+ CP0007
+ T:System.Device.Gpio.Drivers.RaspberryPi3Driver
+ runtimes/win/lib/netstandard2.0/System.Device.Gpio.dll
+ lib/netstandard2.0/System.Device.Gpio.dll
+ true
+
CP0003
runtimes/linux/lib/netstandard2.0/System.Device.Gpio.dll
diff --git a/src/System.Device.Gpio/System.Device.Gpio.csproj b/src/System.Device.Gpio/System.Device.Gpio.csproj
index a8a04272e7fe28dfaba4dbe62ccb1e2fdf58a690..77c7dd98d8b132a198fdaa96fe8eb8c0dd9825d8 100644
--- a/src/System.Device.Gpio/System.Device.Gpio.csproj
+++ b/src/System.Device.Gpio/System.Device.Gpio.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;net5.0
- $(TargetFrameworks);net5.0-windows10.0.17763.0
+ netstandard2.0;net6.0
+ $(TargetFrameworks);net6.0-windows10.0.17763.0
9
enable
true
@@ -39,7 +39,7 @@
-
+
@@ -49,7 +49,7 @@
-
+
diff --git a/src/System.Device.Gpio/System/Device/CommonHelpers.cs b/src/System.Device.Gpio/System/Device/CommonHelpers.cs
index 7a98f104e8397583dba7d69dd3ad4b34b385945c..1728e7af9f9c86df27dc46eb6c56e73467e6b650 100644
--- a/src/System.Device.Gpio/System/Device/CommonHelpers.cs
+++ b/src/System.Device.Gpio/System/Device/CommonHelpers.cs
@@ -5,7 +5,7 @@ namespace System.Device
{
internal static class CommonHelpers
{
- private const string WindowsPlatformTargetingFormat = "In order to use {0} on Windows with .NET 5.0 it is required for your application to target net5.0-windows10.0.17763.0 or higher. Please add that to your target frameworks in your project file.";
+ private const string WindowsPlatformTargetingFormat = "In order to use {0} on Windows with .NET 5.0 it is required for your application to target net6.0-windows10.0.17763.0 or higher. Please add that to your target frameworks in your project file.";
public static string GetFormattedWindowsPlatformTargetingErrorMessage(string className)
=> string.Format(WindowsPlatformTargetingFormat, className);
diff --git a/src/System.Device.Gpio/System/Device/Gpio/Drivers/Windows10Driver.notSupported.cs b/src/System.Device.Gpio/System/Device/Gpio/Drivers/Windows10Driver.notSupported.cs
index a1986f591df373e875c3eecc156d52cd66c12dfa..cfab9d122d4dccff0b25464198640702a3325ce0 100644
--- a/src/System.Device.Gpio/System/Device/Gpio/Drivers/Windows10Driver.notSupported.cs
+++ b/src/System.Device.Gpio/System/Device/Gpio/Drivers/Windows10Driver.notSupported.cs
@@ -15,8 +15,8 @@ namespace System.Device.Gpio.Drivers
///
public Windows10Driver()
{
- // If we land in this method it means the console application is running on Windows and targetting net5.0 (without specifying Windows platform)
- // In order to call WinRT code in net5.0 it is required for the application to target the specific platform
+ // If we land in this method it means the console application is running on Windows and targetting net6.0 (without specifying Windows platform)
+ // In order to call WinRT code in net6.0 it is required for the application to target the specific platform
// so we throw the bellow exception with a detailed message in order to instruct the consumer on how to move forward.
throw new PlatformNotSupportedException(CommonHelpers.GetFormattedWindowsPlatformTargetingErrorMessage(nameof(Windows10Driver)));
}
diff --git a/src/System.Device.Gpio/System/Device/I2c/I2cBus.nonWindows.cs b/src/System.Device.Gpio/System/Device/I2c/I2cBus.nonWindows.cs
index 1e0bb7050a9692029b02ed17cc015dbbe9c4b4a0..423335a8aca5c8107856ab1468b5afb9ec0b2397 100644
--- a/src/System.Device.Gpio/System/Device/I2c/I2cBus.nonWindows.cs
+++ b/src/System.Device.Gpio/System/Device/I2c/I2cBus.nonWindows.cs
@@ -13,8 +13,8 @@ namespace System.Device.I2c
[MethodImpl(MethodImplOptions.NoInlining)]
private static I2cBus CreateWindows10I2cBus(int busId)
{
- // If we land in this method it means the console application is running on Windows and targetting net5.0 (without specifying Windows platform)
- // In order to call WinRT code in net5.0 it is required for the application to target the specific platform
+ // If we land in this method it means the console application is running on Windows and targetting net6.0 (without specifying Windows platform)
+ // In order to call WinRT code in net6.0 it is required for the application to target the specific platform
// so we throw the bellow exception with a detailed message in order to instruct the consumer on how to move forward.
throw new PlatformNotSupportedException(CommonHelpers.GetFormattedWindowsPlatformTargetingErrorMessage(nameof(I2cDevice)));
}
diff --git a/src/System.Device.Gpio/System/Device/I2c/I2cDevice.nonWindows.cs b/src/System.Device.Gpio/System/Device/I2c/I2cDevice.nonWindows.cs
index e675d51e552bd99702e9adff5fc646ad1a1ae68c..942670ca59f5d2cb08a33c86619f58576db66bd7 100644
--- a/src/System.Device.Gpio/System/Device/I2c/I2cDevice.nonWindows.cs
+++ b/src/System.Device.Gpio/System/Device/I2c/I2cDevice.nonWindows.cs
@@ -13,8 +13,8 @@ namespace System.Device.I2c
[MethodImpl(MethodImplOptions.NoInlining)]
private static I2cDevice CreateWindows10I2cDevice(I2cConnectionSettings settings)
{
- // If we land in this method it means the console application is running on Windows and targetting net5.0 (without specifying Windows platform)
- // In order to call WinRT code in net5.0 it is required for the application to target the specific platform
+ // If we land in this method it means the console application is running on Windows and targetting net6.0 (without specifying Windows platform)
+ // In order to call WinRT code in net6.0 it is required for the application to target the specific platform
// so we throw the bellow exception with a detailed message in order to instruct the consumer on how to move forward.
throw new PlatformNotSupportedException(CommonHelpers.GetFormattedWindowsPlatformTargetingErrorMessage(nameof(I2cDevice)));
}
diff --git a/src/System.Device.Gpio/System/Device/Pwm/PwmChannel.nonWindows.cs b/src/System.Device.Gpio/System/Device/Pwm/PwmChannel.nonWindows.cs
index 37311133c6d93095411cf903484b9ba2d011e014..f1eb860ef143e970d457fccfc969e5c83d0e4791 100644
--- a/src/System.Device.Gpio/System/Device/Pwm/PwmChannel.nonWindows.cs
+++ b/src/System.Device.Gpio/System/Device/Pwm/PwmChannel.nonWindows.cs
@@ -13,8 +13,8 @@ namespace System.Device.Pwm
[MethodImpl(MethodImplOptions.NoInlining)]
private static PwmChannel CreateWindows10PwmChannel(int chip, int channel, int frequency, double dutyCyclePercentage)
{
- // If we land in this method it means the console application is running on Windows and targetting net5.0 (without specifying Windows platform)
- // In order to call WinRT code in net5.0 it is required for the application to target the specific platform
+ // If we land in this method it means the console application is running on Windows and targetting net6.0 (without specifying Windows platform)
+ // In order to call WinRT code in net6.0 it is required for the application to target the specific platform
// so we throw the bellow exception with a detailed message in order to instruct the consumer on how to move forward.
throw new PlatformNotSupportedException(CommonHelpers.GetFormattedWindowsPlatformTargetingErrorMessage(nameof(PwmChannel)));
}
diff --git a/src/System.Device.Gpio/System/Device/Spi/SpiDevice.nonWindows.cs b/src/System.Device.Gpio/System/Device/Spi/SpiDevice.nonWindows.cs
index 38849fa793a702346bcaf3e18f8ca26afeb7efd7..d1db692eb98503d877187746ff35aa7e0d983a73 100644
--- a/src/System.Device.Gpio/System/Device/Spi/SpiDevice.nonWindows.cs
+++ b/src/System.Device.Gpio/System/Device/Spi/SpiDevice.nonWindows.cs
@@ -13,8 +13,8 @@ namespace System.Device.Spi
[MethodImpl(MethodImplOptions.NoInlining)]
private static SpiDevice CreateWindows10SpiDevice(SpiConnectionSettings settings)
{
- // If we land in this method it means the console application is running on Windows and targetting net5.0 (without specifying Windows platform)
- // In order to call WinRT code in net5.0 it is required for the application to target the specific platform
+ // If we land in this method it means the console application is running on Windows and targetting net6.0 (without specifying Windows platform)
+ // In order to call WinRT code in net6.0 it is required for the application to target the specific platform
// so we throw the bellow exception with a detailed message in order to instruct the consumer on how to move forward.
throw new PlatformNotSupportedException(CommonHelpers.GetFormattedWindowsPlatformTargetingErrorMessage(nameof(SpiDevice)));
}
diff --git a/src/System.Device.Gpio/buildTransitive/net5.0/System.Device.Gpio.targets b/src/System.Device.Gpio/buildTransitive/net5.0/System.Device.Gpio.targets
index 08bfb0565d9c1d78fbb879d6ff05db708fd277b3..b4d8decbbbe183f2996b7855e5b7a2702cefebfd 100644
--- a/src/System.Device.Gpio/buildTransitive/net5.0/System.Device.Gpio.targets
+++ b/src/System.Device.Gpio/buildTransitive/net5.0/System.Device.Gpio.targets
@@ -1,10 +1,10 @@
-
+
diff --git a/src/devices/AD5328/samples/AD5328.Samples.csproj b/src/devices/AD5328/samples/AD5328.Samples.csproj
index 101e82f1b2d6164bc4883bec6d9b4fc1242feb3f..5af94db3f31e83856bd8b6f81c8ceae1a86fbdc0 100755
--- a/src/devices/AD5328/samples/AD5328.Samples.csproj
+++ b/src/devices/AD5328/samples/AD5328.Samples.csproj
@@ -1,9 +1,9 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
-
\ No newline at end of file
+
diff --git a/src/devices/Ads1115/samples/Ads1115.Samples.csproj b/src/devices/Ads1115/samples/Ads1115.Samples.csproj
index 19030d60ecb86abbe3226f2e589b9038b2a9d239..12ccdeee4f38f6f6719f000a8719263e592924f8 100644
--- a/src/devices/Ads1115/samples/Ads1115.Samples.csproj
+++ b/src/devices/Ads1115/samples/Ads1115.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Adxl345/samples/Adxl345.Samples.csproj b/src/devices/Adxl345/samples/Adxl345.Samples.csproj
index ef67d5266ea9e2eb9a23d0dffedb56d216b3ca5d..3a88eda1a2d8c517124f4aa7bb08c69515d241bb 100644
--- a/src/devices/Adxl345/samples/Adxl345.Samples.csproj
+++ b/src/devices/Adxl345/samples/Adxl345.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Adxl357/samples/Adxl357.Samples.csproj b/src/devices/Adxl357/samples/Adxl357.Samples.csproj
index d59758bf665b0ebd53bdf681a63deef1f38db6a5..14457ede789f2a2d66aad391e3ba68090143062d 100644
--- a/src/devices/Adxl357/samples/Adxl357.Samples.csproj
+++ b/src/devices/Adxl357/samples/Adxl357.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ags01db/samples/Ags01db.Samples.csproj b/src/devices/Ags01db/samples/Ags01db.Samples.csproj
index 8849f9d8e2893da506c01b0215c70ebe4ccfd1a9..3b193106f0d97ff67934cfb3b12ac527d345cc7c 100644
--- a/src/devices/Ags01db/samples/Ags01db.Samples.csproj
+++ b/src/devices/Ags01db/samples/Ags01db.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
@@ -12,4 +12,4 @@
-
\ No newline at end of file
+
diff --git a/src/devices/Ahtxx/samples/Ahtxx.Samples.csproj b/src/devices/Ahtxx/samples/Ahtxx.Samples.csproj
index f5239592eee75dcb08aa8a80d28e05613427c823..546c8d06dbc7bcf5bff12f50d27a8e661a332240 100644
--- a/src/devices/Ahtxx/samples/Ahtxx.Samples.csproj
+++ b/src/devices/Ahtxx/samples/Ahtxx.Samples.csproj
@@ -1,9 +1,9 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
-
\ No newline at end of file
+
diff --git a/src/devices/Ak8963/samples/ak8963.sample.csproj b/src/devices/Ak8963/samples/ak8963.sample.csproj
index c2db73c8304e6bc8a7bd4d29e218cfcd5d186596..2d514172c4af55bb32eeae29b310726a05ab7281 100644
--- a/src/devices/Ak8963/samples/ak8963.sample.csproj
+++ b/src/devices/Ak8963/samples/ak8963.sample.csproj
@@ -1,9 +1,9 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
-
\ No newline at end of file
+
diff --git a/src/devices/Amg88xx/samples/Amg88xx.Samples.csproj b/src/devices/Amg88xx/samples/Amg88xx.Samples.csproj
index 09e21e89a29c7e6680ce7fd58ad452e8b1a68691..74acf4354fde4b0d7b0f762063af1483bd9c82d1 100644
--- a/src/devices/Amg88xx/samples/Amg88xx.Samples.csproj
+++ b/src/devices/Amg88xx/samples/Amg88xx.Samples.csproj
@@ -1,9 +1,9 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
-
\ No newline at end of file
+
diff --git a/src/devices/Amg88xx/tests/Amg88xx.Tests.csproj b/src/devices/Amg88xx/tests/Amg88xx.Tests.csproj
index fd7beaaa8c4882459406393f27634f219468b820..4ffc3b92aa8a3fdd4b4576d96d5df5d4182c201d 100644
--- a/src/devices/Amg88xx/tests/Amg88xx.Tests.csproj
+++ b/src/devices/Amg88xx/tests/Amg88xx.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
false
false
diff --git a/src/devices/Arduino/tests/Arduino.Tests.csproj b/src/devices/Arduino/tests/Arduino.Tests.csproj
index 2ee579fb17091f3bd36119248ecd61618e51e129..cca01bf566b2d15f29c20e77fb65ed8f7517f43f 100644
--- a/src/devices/Arduino/tests/Arduino.Tests.csproj
+++ b/src/devices/Arduino/tests/Arduino.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
false
latest
false
diff --git a/src/devices/Axp192/samples/Axp192.samples.csproj b/src/devices/Axp192/samples/Axp192.samples.csproj
index 899ee511bc6c2e0ca8ff7eff1aaff4a807e22bbe..858b954bb1a494499e6f9352f992213273a5e25a 100644
--- a/src/devices/Axp192/samples/Axp192.samples.csproj
+++ b/src/devices/Axp192/samples/Axp192.samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Bh1745/samples/Bh1745.Sample.csproj b/src/devices/Bh1745/samples/Bh1745.Sample.csproj
index c2de991e07f7e7d2c9afce9827170aa5689be291..5fabc82c70f55a7b24b14ca39ccbbfbed5348ff0 100644
--- a/src/devices/Bh1745/samples/Bh1745.Sample.csproj
+++ b/src/devices/Bh1745/samples/Bh1745.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Bh1745/samples/Bh1745CustomConfiguration.Sample.csproj b/src/devices/Bh1745/samples/Bh1745CustomConfiguration.Sample.csproj
index 8ceeb675b35a32fa4d5d8b5a10bf07e78e5b7116..8941e80c5df060869be805aa0f35d81e37012e59 100644
--- a/src/devices/Bh1745/samples/Bh1745CustomConfiguration.Sample.csproj
+++ b/src/devices/Bh1745/samples/Bh1745CustomConfiguration.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Bh1750fvi/samples/Bh1750fvi.Samples.csproj b/src/devices/Bh1750fvi/samples/Bh1750fvi.Samples.csproj
index 6067384d79cb134e7bd1076538d6e0292fd9fc40..03eb0e73751b76d7f24aac02c08a9a0985d9f19f 100644
--- a/src/devices/Bh1750fvi/samples/Bh1750fvi.Samples.csproj
+++ b/src/devices/Bh1750fvi/samples/Bh1750fvi.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Bmm150/samples/Bmm150.Sample.csproj b/src/devices/Bmm150/samples/Bmm150.Sample.csproj
index 984f6922d4573e0e766b76c93ac34c5ad47a70ee..8f3430ac25911115e442aeac1ef7230ac1233296 100644
--- a/src/devices/Bmm150/samples/Bmm150.Sample.csproj
+++ b/src/devices/Bmm150/samples/Bmm150.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Bmp180/samples/Bmp180.Sample.csproj b/src/devices/Bmp180/samples/Bmp180.Sample.csproj
index b57a751fdd39b793e10451565f2da1a1a689fb1c..7b7bfcfec9d33158db1b470297c5e2843f447045 100644
--- a/src/devices/Bmp180/samples/Bmp180.Sample.csproj
+++ b/src/devices/Bmp180/samples/Bmp180.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Bmxx80/samples/Bme280.sample.csproj b/src/devices/Bmxx80/samples/Bme280.sample.csproj
index ac2559c3902ee8f83bee50a34bc57b4e4861f323..9537053a0ea3221e231f19d837701c070be3358e 100644
--- a/src/devices/Bmxx80/samples/Bme280.sample.csproj
+++ b/src/devices/Bmxx80/samples/Bme280.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Bmxx80/samples/Bme680.sample.csproj b/src/devices/Bmxx80/samples/Bme680.sample.csproj
index 35d454dca062f9b5b14d213c7f2899e3609c0638..a3797e9c00ab1783ce5bed8c09f103e7af9b2850 100644
--- a/src/devices/Bmxx80/samples/Bme680.sample.csproj
+++ b/src/devices/Bmxx80/samples/Bme680.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Bmxx80/samples/Bmp280.sample.csproj b/src/devices/Bmxx80/samples/Bmp280.sample.csproj
index cd5f27058a087ce096e996e9dd33aa1cdbb22fe2..f741a4a804d3e7e8e54a9ea6f7fc10f6feab90c9 100644
--- a/src/devices/Bmxx80/samples/Bmp280.sample.csproj
+++ b/src/devices/Bmxx80/samples/Bmp280.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Bmxx80/tests/Bmxx80.Tests.csproj b/src/devices/Bmxx80/tests/Bmxx80.Tests.csproj
index e138ae89e33bdbdf5885f54e217e4634e5ef9133..e6e015e353a94653c845caa291db2973d2d2f437 100644
--- a/src/devices/Bmxx80/tests/Bmxx80.Tests.csproj
+++ b/src/devices/Bmxx80/tests/Bmxx80.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
$(TargetFrameworks);net48
9
false
diff --git a/src/devices/Bno055/samples/Bno055.sample.csproj b/src/devices/Bno055/samples/Bno055.sample.csproj
index 2e0d9bc21f68849e5952d2776e77067a1ff8c3da..eb38f247ae02f7f7dea2b7e21af9fcd0aa32c82d 100644
--- a/src/devices/Bno055/samples/Bno055.sample.csproj
+++ b/src/devices/Bno055/samples/Bno055.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Board/samples/Board.Sample.csproj b/src/devices/Board/samples/Board.Sample.csproj
index 30cb4e3e2b20e2dc27a2c5581af1320b16ce4153..8c28fdc95e17c32a4c5a6dc8417974ed77e61424 100644
--- a/src/devices/Board/samples/Board.Sample.csproj
+++ b/src/devices/Board/samples/Board.Sample.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp2.1
+ netcoreapp3.1
preview
diff --git a/src/devices/Board/tests/Board.Tests.csproj b/src/devices/Board/tests/Board.Tests.csproj
index 49df9b9cb31e7c50f0d34c8a1c2ad89c51a81e7d..85fffc693b0d6ba92499d9afd664a7fcfd0fdc20 100644
--- a/src/devices/Board/tests/Board.Tests.csproj
+++ b/src/devices/Board/tests/Board.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
false
latest
false
diff --git a/src/devices/Board/tests/BoardTests.cs b/src/devices/Board/tests/BoardTests.cs
index e962c0f284ddc1b5aade1fd153d32c0af69d45a0..3969a2e4973383b712816d63f5399977b4fd9fb7 100644
--- a/src/devices/Board/tests/BoardTests.cs
+++ b/src/devices/Board/tests/BoardTests.cs
@@ -35,7 +35,7 @@ namespace Iot.Device.Board.Tests
var board = Board.Create();
Assert.NotNull(board);
var property = board.GetType().GetProperty("Initialized", BindingFlags.Instance | BindingFlags.NonPublic)!;
- Assert.True((bool)property.GetValue(board));
+ Assert.True((bool)property.GetValue(board)!);
Assert.Equal(PinNumberingScheme.Logical, board.DefaultPinNumberingScheme);
board.Dispose();
}
diff --git a/src/devices/BoardLed/samples/BoardLed.Sample.csproj b/src/devices/BoardLed/samples/BoardLed.Sample.csproj
index 41f03abedfd2f6acf0f6d8056fbff8a30eeb196e..991acb7cdd1333d0fdab549de0d305a5eb8e37c6 100644
--- a/src/devices/BoardLed/samples/BoardLed.Sample.csproj
+++ b/src/devices/BoardLed/samples/BoardLed.Sample.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/BrickPi3/samples/BrickPi3.samples.csproj b/src/devices/BrickPi3/samples/BrickPi3.samples.csproj
index d1f7422489e0e0ee7d4b86d4a6a86f808ab650d4..bab3a77bc0b17941a2e063e163955b184423a75c 100644
--- a/src/devices/BrickPi3/samples/BrickPi3.samples.csproj
+++ b/src/devices/BrickPi3/samples/BrickPi3.samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Button/samples/Button.samples.csproj b/src/devices/Button/samples/Button.samples.csproj
index 996349231403be06c9b2d76f2e8dee9a7f5c3807..f4b59fca5a7b2c20de2344ad6d0a2dcb9ee7e8dc 100644
--- a/src/devices/Button/samples/Button.samples.csproj
+++ b/src/devices/Button/samples/Button.samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Button/tests/Button.tests.csproj b/src/devices/Button/tests/Button.tests.csproj
index b0a0eaf39213b719d43358463798c4de9bbba70c..bb9db24e6e6143819aec11fa0f6c015370aad6f9 100644
--- a/src/devices/Button/tests/Button.tests.csproj
+++ b/src/devices/Button/tests/Button.tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp2.1
+ netcoreapp3.1
false
latest
false
diff --git a/src/devices/Buzzer/samples/Buzzer.Samples.csproj b/src/devices/Buzzer/samples/Buzzer.Samples.csproj
index 8665347ccc4f1426910015c03332f49081c7a279..735f6aba509c77264d4fec9e5612a326b2f4c83c 100644
--- a/src/devices/Buzzer/samples/Buzzer.Samples.csproj
+++ b/src/devices/Buzzer/samples/Buzzer.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Card/Ndef/samples/NdefSamples.csproj b/src/devices/Card/Ndef/samples/NdefSamples.csproj
index 80640476409baf38c1204cda4588bcabd925a995..c622c28a4c8a38da01cfc935600651550bd2d98b 100644
--- a/src/devices/Card/Ndef/samples/NdefSamples.csproj
+++ b/src/devices/Card/Ndef/samples/NdefSamples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Card/Ndef/tests/Ndef.Tests.csproj b/src/devices/Card/Ndef/tests/Ndef.Tests.csproj
index 05147a611b6e0e27a2a659fbb0ff2138578ef18d..a9098334020e104eadf4f70053b50b933e191f27 100644
--- a/src/devices/Card/Ndef/tests/Ndef.Tests.csproj
+++ b/src/devices/Card/Ndef/tests/Ndef.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp2.1
+ netcoreapp3.1
false
diff --git a/src/devices/Ccs811/samples/Ccs811.Sample.csproj b/src/devices/Ccs811/samples/Ccs811.Sample.csproj
index 960adda285974d1e520998da32fb6cce00e47017..e4bfef40a9e5eddd76746b4be63a9deca774d92f 100644
--- a/src/devices/Ccs811/samples/Ccs811.Sample.csproj
+++ b/src/devices/Ccs811/samples/Ccs811.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/CharacterLcd/samples/CharacterLcd.Samples.csproj b/src/devices/CharacterLcd/samples/CharacterLcd.Samples.csproj
index 7ff562aa7226ee735d7f3e321847da0e992c9458..5cabde85ef68b851bd32fb2334b6399b2fd1e3cb 100644
--- a/src/devices/CharacterLcd/samples/CharacterLcd.Samples.csproj
+++ b/src/devices/CharacterLcd/samples/CharacterLcd.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/CharacterLcd/tests/CharacterLcd.Tests.csproj b/src/devices/CharacterLcd/tests/CharacterLcd.Tests.csproj
index 05973f82935d35b80c14065db62ceccbd92dacfa..d95f56fe3a3ab59d000d875fc559a8789a7b966d 100644
--- a/src/devices/CharacterLcd/tests/CharacterLcd.Tests.csproj
+++ b/src/devices/CharacterLcd/tests/CharacterLcd.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp2.1
+ netcoreapp3.1
$(TargetFrameworks);net48
9
false
diff --git a/src/devices/Charlieplex/samples/Charlieplex-sample.csproj b/src/devices/Charlieplex/samples/Charlieplex-sample.csproj
index 2717216b1d9974a3a51e5884abca5c77d32abb14..8d0d848f5fafa35a9cec27983be57e532d80a1ae 100644
--- a/src/devices/Charlieplex/samples/Charlieplex-sample.csproj
+++ b/src/devices/Charlieplex/samples/Charlieplex-sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Charlieplex/tests/Charlieplex.Tests.csproj b/src/devices/Charlieplex/tests/Charlieplex.Tests.csproj
index 418308d1dbd87f30e8fc93e01ee6a3865cff3cb6..a39cdb0dbb7b1bdddcbe240a2d80d6dba198436f 100644
--- a/src/devices/Charlieplex/tests/Charlieplex.Tests.csproj
+++ b/src/devices/Charlieplex/tests/Charlieplex.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp2.1
+ netcoreapp3.1
9
false
diff --git a/src/devices/Common/CommonHelpers.csproj b/src/devices/Common/CommonHelpers.csproj
index bed563977426e957e5d2abcb669e5790d8ce4795..5e0db053ae84e7679ce41ec538877670ee1c14ac 100644
--- a/src/devices/Common/CommonHelpers.csproj
+++ b/src/devices/Common/CommonHelpers.csproj
@@ -20,7 +20,7 @@
-
+
\ No newline at end of file
diff --git a/src/devices/Common/Iot/Device/Multiplexing/samples/OutputSegment-driver.csproj b/src/devices/Common/Iot/Device/Multiplexing/samples/OutputSegment-driver.csproj
index d4f63a9985fc1c3f0f9fb18fa10a0db76e4eeaf0..6935abe4d9f27f15de5db8ce95c0709938c5e81e 100644
--- a/src/devices/Common/Iot/Device/Multiplexing/samples/OutputSegment-driver.csproj
+++ b/src/devices/Common/Iot/Device/Multiplexing/samples/OutputSegment-driver.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.csproj b/src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.csproj
index 816314a6af0737cb9169b13ae5a7f6b19cfd7ccd..6176c99e8fdb8c132ddc9e5e2a93b3b084c8ddcc 100644
--- a/src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.csproj
+++ b/src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.csproj
@@ -1,7 +1,7 @@
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Common/samples/Common.Samples.csproj b/src/devices/Common/samples/Common.Samples.csproj
index ba39a4a27a9c4e3ebc657649378fd27b3f4fecbd..fb2b1844efe37ea9edd1963a0923669b3153339d 100644
--- a/src/devices/Common/samples/Common.Samples.csproj
+++ b/src/devices/Common/samples/Common.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Common/tests/Common.Tests.csproj b/src/devices/Common/tests/Common.Tests.csproj
index a6b9fbfe17e31170b9baa26709cfeb8319059d7a..ee3b9d6bbf056bd9d50ac645a4903ee8ea26afc7 100644
--- a/src/devices/Common/tests/Common.Tests.csproj
+++ b/src/devices/Common/tests/Common.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
$(TargetFrameworks);net48
9
false
diff --git a/src/devices/CpuTemperature/samples/CpuTemperature.Samples.csproj b/src/devices/CpuTemperature/samples/CpuTemperature.Samples.csproj
index 4ba5b3144e6e6aac971c32972ec378eb2313ff36..4b9ed5044d6c32fa631813c1848107f47a0b51a6 100644
--- a/src/devices/CpuTemperature/samples/CpuTemperature.Samples.csproj
+++ b/src/devices/CpuTemperature/samples/CpuTemperature.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
app.manifest
diff --git a/src/devices/DCMotor/samples/DCMotor.sample.csproj b/src/devices/DCMotor/samples/DCMotor.sample.csproj
index b7c065c4bb5184dbf37609c522b3a022a748bfa6..22fd47353faef4b6979411014c734a39c696a2cf 100644
--- a/src/devices/DCMotor/samples/DCMotor.sample.csproj
+++ b/src/devices/DCMotor/samples/DCMotor.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Dhtxx/samples/DhtSensor.sample.csproj b/src/devices/Dhtxx/samples/DhtSensor.sample.csproj
index ef617e4e20b1dc346bf4148564bb110d22eb6b9a..afc71d3a657cc06d3c3f751774e2a7b34246cba7 100644
--- a/src/devices/Dhtxx/samples/DhtSensor.sample.csproj
+++ b/src/devices/Dhtxx/samples/DhtSensor.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Directory.Build.props b/src/devices/Directory.Build.props
index a9152416ef6ee0f067a8d796ebb50218356e278f..49e2385169c6d15018efec502225dfbac589060a 100644
--- a/src/devices/Directory.Build.props
+++ b/src/devices/Directory.Build.props
@@ -5,7 +5,8 @@
- net5.0;netcoreapp2.1;netstandard2.0;
+ net6.0;netcoreapp3.1;netstandard2.0;
+ net6.0
$(NoWarn);CS8321
false
false
diff --git a/src/devices/Display/samples/Large4Digit7SegmentDisplay.sample.csproj b/src/devices/Display/samples/Large4Digit7SegmentDisplay.sample.csproj
index 5050ed917a47dd2828ebfd8ba7c082a4093dda8f..6b37da30b7c8ebc08dc683c468a97c665c71fb4b 100644
--- a/src/devices/Display/samples/Large4Digit7SegmentDisplay.sample.csproj
+++ b/src/devices/Display/samples/Large4Digit7SegmentDisplay.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/ExplorerHat/samples/ExplorerHat.Sample.csproj b/src/devices/ExplorerHat/samples/ExplorerHat.Sample.csproj
index 04e73d681e33ea3c1b0f8a8ea2f88c56f9a1a7cd..2877ec8d3675e1f3076d5b88b78d425a3d29beca 100644
--- a/src/devices/ExplorerHat/samples/ExplorerHat.Sample.csproj
+++ b/src/devices/ExplorerHat/samples/ExplorerHat.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ft232H/samples/Ft232H.sample.csproj b/src/devices/Ft232H/samples/Ft232H.sample.csproj
index 3698a889a6e0b5e5f20917c7c419bfad6740e98b..ae4cca9b8a2c544f753b1c6a48638d2c3ba4b731 100644
--- a/src/devices/Ft232H/samples/Ft232H.sample.csproj
+++ b/src/devices/Ft232H/samples/Ft232H.sample.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/GoPiGo3/samples/GoPiGo3.sample.csproj b/src/devices/GoPiGo3/samples/GoPiGo3.sample.csproj
index 53760a1dfb61b35015c5765e4450ae00b2076649..540acf45449459927ad2d1ea98514d15bf77dcf1 100644
--- a/src/devices/GoPiGo3/samples/GoPiGo3.sample.csproj
+++ b/src/devices/GoPiGo3/samples/GoPiGo3.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Gpio/samples/Iot.Device.Gpio.Samples.csproj b/src/devices/Gpio/samples/Iot.Device.Gpio.Samples.csproj
index 949465b7e7a0f0de482fa044172d44827e1f8e6d..dcf4505554cfe4ec4917490a61669c71bc5dedbe 100644
--- a/src/devices/Gpio/samples/Iot.Device.Gpio.Samples.csproj
+++ b/src/devices/Gpio/samples/Iot.Device.Gpio.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp2.1
+ netcoreapp3.1
enable
latest
diff --git a/src/devices/GrovePi/samples/GrovePiDevice.sample.csproj b/src/devices/GrovePi/samples/GrovePiDevice.sample.csproj
index 88fe5a79662113fea604f47dfb6478e351ea096f..32885e56d4db98f0e39a2398f73e199ee4886a74 100644
--- a/src/devices/GrovePi/samples/GrovePiDevice.sample.csproj
+++ b/src/devices/GrovePi/samples/GrovePiDevice.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/HardwareMonitor/samples/OpenHardwareMonitor.Samples.csproj b/src/devices/HardwareMonitor/samples/OpenHardwareMonitor.Samples.csproj
index 562b858a5f160a207bd8130d21ae8a6d91362830..4688cbc8db629d0c233cfceed9cd51dd3c8d9bb6 100644
--- a/src/devices/HardwareMonitor/samples/OpenHardwareMonitor.Samples.csproj
+++ b/src/devices/HardwareMonitor/samples/OpenHardwareMonitor.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Hcsr04/samples/Hcsr04.Samples.csproj b/src/devices/Hcsr04/samples/Hcsr04.Samples.csproj
index 8334f8a4e175aab8b9a13409d5801eef7fae8b8c..f1533150d748a4ffd825dd2c6aac51a093297b01 100644
--- a/src/devices/Hcsr04/samples/Hcsr04.Samples.csproj
+++ b/src/devices/Hcsr04/samples/Hcsr04.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Hcsr501/samples/Hcsr501.Samples.csproj b/src/devices/Hcsr501/samples/Hcsr501.Samples.csproj
index d74688f93f37f3c4a821b096ca2d0b4a9b104634..65ee0fbd8d4e85d4c559f51c0c8e3e36c7b95a01 100644
--- a/src/devices/Hcsr501/samples/Hcsr501.Samples.csproj
+++ b/src/devices/Hcsr501/samples/Hcsr501.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Hmc5883l/samples/Hmc5883l.Samples.csproj b/src/devices/Hmc5883l/samples/Hmc5883l.Samples.csproj
index 6db26599bff1a18378425ebbe9c899c93fca3135..33eb14ce5a551aaad423396c237563bd0e450457 100644
--- a/src/devices/Hmc5883l/samples/Hmc5883l.Samples.csproj
+++ b/src/devices/Hmc5883l/samples/Hmc5883l.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Hts221/samples/Hts221.Samples.csproj b/src/devices/Hts221/samples/Hts221.Samples.csproj
index 8798986fae90c11c4dcab45f1535afe70bd88129..2d388cca11561ad3ffb7303270536b7617b591dc 100644
--- a/src/devices/Hts221/samples/Hts221.Samples.csproj
+++ b/src/devices/Hts221/samples/Hts221.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ili9341/samples/Ili9341.Samples.csproj b/src/devices/Ili9341/samples/Ili9341.Samples.csproj
index ea3a7e92fa4e069e6de01a2cb3c6c6eae278bfd0..d16c218da0d5858f04564a30d5485368e772e4c7 100644
--- a/src/devices/Ili9341/samples/Ili9341.Samples.csproj
+++ b/src/devices/Ili9341/samples/Ili9341.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ina219/samples/Ina219.Samples.csproj b/src/devices/Ina219/samples/Ina219.Samples.csproj
index 88964c2315c467685526e12cb2432d3fae5f16b4..10ab9c75bc6bf0d7beb8b1239c2a5abf8cdb2954 100644
--- a/src/devices/Ina219/samples/Ina219.Samples.csproj
+++ b/src/devices/Ina219/samples/Ina219.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ip5306/samples/Ip5306.samples.csproj b/src/devices/Ip5306/samples/Ip5306.samples.csproj
index ac535d65f77461d61a73c049bb819e30559f5e7f..cbb0e5e4f79b56221ee3ce5cc882c9982cc5f0d8 100644
--- a/src/devices/Ip5306/samples/Ip5306.samples.csproj
+++ b/src/devices/Ip5306/samples/Ip5306.samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/KeyMatrix/samples/KeyMatrix.Sample.csproj b/src/devices/KeyMatrix/samples/KeyMatrix.Sample.csproj
index c4e36a9decb9a9913eb0b7139a1e178f13f1ada3..bc4e48cc6654a297b5884c0ca9da1ff17342f69a 100644
--- a/src/devices/KeyMatrix/samples/KeyMatrix.Sample.csproj
+++ b/src/devices/KeyMatrix/samples/KeyMatrix.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/LidarLiteV3/samples/LidarLiteV3.Sample.csproj b/src/devices/LidarLiteV3/samples/LidarLiteV3.Sample.csproj
index 6a40002bf461f3cc7e3160909792864835ed0997..60b817c6e07f70695c614ccb840f1aad9c2de047 100644
--- a/src/devices/LidarLiteV3/samples/LidarLiteV3.Sample.csproj
+++ b/src/devices/LidarLiteV3/samples/LidarLiteV3.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/LiquidLevel/samples/LiquidLevelSwitch.Sample.csproj b/src/devices/LiquidLevel/samples/LiquidLevelSwitch.Sample.csproj
index 8e9ccef885650a181aa3656af716ff73b5af7f7b..8c2652cd50c348dc1b487ec05e053a3237c6e423 100644
--- a/src/devices/LiquidLevel/samples/LiquidLevelSwitch.Sample.csproj
+++ b/src/devices/LiquidLevel/samples/LiquidLevelSwitch.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/LiquidLevel/samples/Llc200d3sh.Sample.csproj b/src/devices/LiquidLevel/samples/Llc200d3sh.Sample.csproj
index 44eebc78888f4ae8df604d9762ea2418ecd4f2d3..43c232d11e59d826a47a962b07d670178bf332dc 100644
--- a/src/devices/LiquidLevel/samples/Llc200d3sh.Sample.csproj
+++ b/src/devices/LiquidLevel/samples/Llc200d3sh.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Lm75/samples/Lm75.Samples.csproj b/src/devices/Lm75/samples/Lm75.Samples.csproj
index e9daeccc5700468ddb9b0b496006a15899148225..f966fc163d94a9de3ac34ab64fcb74d01d72e07f 100644
--- a/src/devices/Lm75/samples/Lm75.Samples.csproj
+++ b/src/devices/Lm75/samples/Lm75.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Lps25h/samples/Lps25h.Samples.csproj b/src/devices/Lps25h/samples/Lps25h.Samples.csproj
index 349d7101f6536c3c49572fba7214556993d7dd6c..e9f078c31e8a39bc4e2edc2bce15f25d1bb7a900 100644
--- a/src/devices/Lps25h/samples/Lps25h.Samples.csproj
+++ b/src/devices/Lps25h/samples/Lps25h.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Lsm9Ds1/samples/Lsm9Ds1.Samples.csproj b/src/devices/Lsm9Ds1/samples/Lsm9Ds1.Samples.csproj
index ef01b763fd1eb977eba51bba8c3b069bfff87819..9cc36d55cba9e4b5b65ac5bffe0f5ffa4211c63e 100644
--- a/src/devices/Lsm9Ds1/samples/Lsm9Ds1.Samples.csproj
+++ b/src/devices/Lsm9Ds1/samples/Lsm9Ds1.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Max31856/samples/Max31856.Samples.csproj b/src/devices/Max31856/samples/Max31856.Samples.csproj
index 117cee31ff9dee044ea0931b8d67096a9774200a..7a1f6792c7ec32d4d62c71db95671ff2a4266300 100644
--- a/src/devices/Max31856/samples/Max31856.Samples.csproj
+++ b/src/devices/Max31856/samples/Max31856.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Max31865/samples/Max31865.Samples.csproj b/src/devices/Max31865/samples/Max31865.Samples.csproj
index 18a7326ea139d6a3528656f238c3754fef5b669f..4fd3e2f75b08495bdcce96d56b0dfdf64f0f892c 100644
--- a/src/devices/Max31865/samples/Max31865.Samples.csproj
+++ b/src/devices/Max31865/samples/Max31865.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Max44009/samples/Max44009.Samples.csproj b/src/devices/Max44009/samples/Max44009.Samples.csproj
index 15998cf6c416e9f5eecde4fc80ba051931b991d0..e2db47f1a22bb7b13e8bb216137e77a9a756c732 100644
--- a/src/devices/Max44009/samples/Max44009.Samples.csproj
+++ b/src/devices/Max44009/samples/Max44009.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Max7219/samples/Max7219.sample.csproj b/src/devices/Max7219/samples/Max7219.sample.csproj
index 4f84348f3a94be1a64f5b94ef1b56faa68060641..d28a5fbb3611c8eb62a0a4b96bd9e67579e7f2cb 100644
--- a/src/devices/Max7219/samples/Max7219.sample.csproj
+++ b/src/devices/Max7219/samples/Max7219.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mbi5027/samples/Mbi5027-driver.csproj b/src/devices/Mbi5027/samples/Mbi5027-driver.csproj
index 3b285fa1bc6429a5bdf1e0f31336e7ad288a260e..168aa441b6e0f525db8b55ce1989a4911c48b19a 100644
--- a/src/devices/Mbi5027/samples/Mbi5027-driver.csproj
+++ b/src/devices/Mbi5027/samples/Mbi5027-driver.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mcp23xxx/samples/Mcp23xxx.Samples.csproj b/src/devices/Mcp23xxx/samples/Mcp23xxx.Samples.csproj
index 4862007f95ff17905e6bbda5529f069a9d630a1c..07df59e5ea144227e296f14c668b4f8c42b70339 100644
--- a/src/devices/Mcp23xxx/samples/Mcp23xxx.Samples.csproj
+++ b/src/devices/Mcp23xxx/samples/Mcp23xxx.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mcp23xxx/tests/Mcp23xxx.Tests.csproj b/src/devices/Mcp23xxx/tests/Mcp23xxx.Tests.csproj
index 6bcabc07496b5c81091abf890a481c42f01d63fb..ebed430090d91b68f6ee8625c2ee41c24b7117f0 100644
--- a/src/devices/Mcp23xxx/tests/Mcp23xxx.Tests.csproj
+++ b/src/devices/Mcp23xxx/tests/Mcp23xxx.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
9
false
false
diff --git a/src/devices/Mcp25xxx/samples/Mcp25xxx.Samples.csproj b/src/devices/Mcp25xxx/samples/Mcp25xxx.Samples.csproj
index b963a2976f464154854efa5996310d6f3d07a859..4c19b760ecd1eb0f53511294a3401436f522e940 100644
--- a/src/devices/Mcp25xxx/samples/Mcp25xxx.Samples.csproj
+++ b/src/devices/Mcp25xxx/samples/Mcp25xxx.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mcp25xxx/tests/Mcp25xxx.Tests.csproj b/src/devices/Mcp25xxx/tests/Mcp25xxx.Tests.csproj
index 7d644fd6622d5c578c0947267ab27bdb67104cca..1e312a3b383105092c7a94594884b3f6eebecef5 100644
--- a/src/devices/Mcp25xxx/tests/Mcp25xxx.Tests.csproj
+++ b/src/devices/Mcp25xxx/tests/Mcp25xxx.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
$(TargetFrameworks);net48
9
false
diff --git a/src/devices/Mcp3428/samples/Mcp3428.Samples.csproj b/src/devices/Mcp3428/samples/Mcp3428.Samples.csproj
index e7c9c20ba6a30a7582c07d20939da936f29863fc..9e4b6cc7a50819127401b41bd1074fa8e74eeac6 100644
--- a/src/devices/Mcp3428/samples/Mcp3428.Samples.csproj
+++ b/src/devices/Mcp3428/samples/Mcp3428.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mcp3xxx/samples/Mcp3008.Sample.csproj b/src/devices/Mcp3xxx/samples/Mcp3008.Sample.csproj
index 2020cf7ac4e6cd879e5d30bb25216100475f25ff..d2eed4cc0b21344d3481538646a89c61bf00ae17 100644
--- a/src/devices/Mcp3xxx/samples/Mcp3008.Sample.csproj
+++ b/src/devices/Mcp3xxx/samples/Mcp3008.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mcp960x/Samples/Mcp960x.Samples.csproj b/src/devices/Mcp960x/Samples/Mcp960x.Samples.csproj
index 49945b90f8d457cd846982c0d37db399860f849f..5e97aa8d7f1955fcde5d1f84ec5118f36387d88c 100644
--- a/src/devices/Mcp960x/Samples/Mcp960x.Samples.csproj
+++ b/src/devices/Mcp960x/Samples/Mcp960x.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mcp9808/samples/Mcp9808.Samples.csproj b/src/devices/Mcp9808/samples/Mcp9808.Samples.csproj
index f6b175e28f96689530167c6a9539c3dfd6adbf67..328083bd34b94fbe4f887c667489fcf59ec6463e 100644
--- a/src/devices/Mcp9808/samples/Mcp9808.Samples.csproj
+++ b/src/devices/Mcp9808/samples/Mcp9808.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Media/SoundDevice/samples/Alsa.Samples.csproj b/src/devices/Media/SoundDevice/samples/Alsa.Samples.csproj
index 3904521be869ef24f332771c595e6959176a6dce..09496e337a61106cd8db5799cf9e5bf7cdc3e13d 100644
--- a/src/devices/Media/SoundDevice/samples/Alsa.Samples.csproj
+++ b/src/devices/Media/SoundDevice/samples/Alsa.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Media/VideoDevice/samples/MjpegStream/MjpegStream.csproj b/src/devices/Media/VideoDevice/samples/MjpegStream/MjpegStream.csproj
index 32c121fa007d31f40ab8534625db0c205ba2b7e6..06a06db408be0d9ca5ecedbda50b6898f2eca322 100644
--- a/src/devices/Media/VideoDevice/samples/MjpegStream/MjpegStream.csproj
+++ b/src/devices/Media/VideoDevice/samples/MjpegStream/MjpegStream.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
true
diff --git a/src/devices/Media/VideoDevice/samples/VideoDevice.Samples.csproj b/src/devices/Media/VideoDevice/samples/VideoDevice.Samples.csproj
index b7b6bb0b3978fb1ce5614c9cb98c4228c371cad5..704da59e7704ef6518d99831bda6068c68bbb31c 100644
--- a/src/devices/Media/VideoDevice/samples/VideoDevice.Samples.csproj
+++ b/src/devices/Media/VideoDevice/samples/VideoDevice.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Mfrc522/samples/Mfrc522.Sample.csproj b/src/devices/Mfrc522/samples/Mfrc522.Sample.csproj
index 22162618d2688fd7ff1ed8d24d09a2aaef3a2bb3..7e1d8c83481c803bb6214c2ea15ce3c293a42f17 100644
--- a/src/devices/Mfrc522/samples/Mfrc522.Sample.csproj
+++ b/src/devices/Mfrc522/samples/Mfrc522.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- .net5.0
+ $(DefaultSampleTfms)
@@ -12,4 +12,4 @@
-
\ No newline at end of file
+
diff --git a/src/devices/Mhz19b/samples/Mhz19b.Samples.csproj b/src/devices/Mhz19b/samples/Mhz19b.Samples.csproj
index ae64b2de3acb2a2b88aba45b58e030eacae4f916..462f3ed6e9dc79aedc5803488784120734031bbe 100644
--- a/src/devices/Mhz19b/samples/Mhz19b.Samples.csproj
+++ b/src/devices/Mhz19b/samples/Mhz19b.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mlx90614/samples/Mlx90614.Sample.csproj b/src/devices/Mlx90614/samples/Mlx90614.Sample.csproj
index bd309ce8ce19663fd87c0ab6f7f807b8fc97bf6f..62d2b76da20e683da72e69a9df59a27c7652d990 100644
--- a/src/devices/Mlx90614/samples/Mlx90614.Sample.csproj
+++ b/src/devices/Mlx90614/samples/Mlx90614.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/MotorHat/samples/MotorHat.Samples.csproj b/src/devices/MotorHat/samples/MotorHat.Samples.csproj
index 8570ba36c5d4343f1cf8094fd7e7589c30a374ce..38ff0a1009aa0c45c37313245e43f41e88de203c 100644
--- a/src/devices/MotorHat/samples/MotorHat.Samples.csproj
+++ b/src/devices/MotorHat/samples/MotorHat.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mpr121/Mpr121.cs b/src/devices/Mpr121/Mpr121.cs
index 5a119c077e554b9ca017e6e26d610116dbff7f09..034af2687b7556224cbc081aa9290c469346eb9d 100644
--- a/src/devices/Mpr121/Mpr121.cs
+++ b/src/devices/Mpr121/Mpr121.cs
@@ -78,10 +78,12 @@ namespace Iot.Device.Mpr121
_timer = new Timer(RefreshChannelStatuses, this, Timeout.Infinite, Timeout.Infinite);
_statuses = new Dictionary();
+#pragma warning disable CS8605 // Unboxing a possibly null value.
foreach (Channels channel in Enum.GetValues(typeof(Channels)))
{
_statuses.Add(channel, false);
}
+#pragma warning restore CS8605 // Unboxing a possibly null value.
InitializeController(configuration);
diff --git a/src/devices/Mpr121/samples/Mpr121.Samples.csproj b/src/devices/Mpr121/samples/Mpr121.Samples.csproj
index 35c0f262c8d1d6df9f3d609b63e32064ddb88268..457c830146e0486cde5fd19d9624050e24b5495c 100644
--- a/src/devices/Mpr121/samples/Mpr121.Samples.csproj
+++ b/src/devices/Mpr121/samples/Mpr121.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mpu6886/samples/Mpu6886.Samples.csproj b/src/devices/Mpu6886/samples/Mpu6886.Samples.csproj
index a5f14fe19a29e9c9e829f73e03dae9f2ebc55f8c..8d9765682bc1f6eebab45d1bdb8df179c6056826 100644
--- a/src/devices/Mpu6886/samples/Mpu6886.Samples.csproj
+++ b/src/devices/Mpu6886/samples/Mpu6886.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Mpu9250/Mpu9250.csproj b/src/devices/Mpu9250/Mpu9250.csproj
index f7170bba97715b009cc939c763b58a370202209b..4d66a4a8b6077f5294b6efbb150129d8f3b51c6d 100644
--- a/src/devices/Mpu9250/Mpu9250.csproj
+++ b/src/devices/Mpu9250/Mpu9250.csproj
@@ -12,7 +12,4 @@
-
-
-
-
\ No newline at end of file
+
diff --git a/src/devices/Mpu9250/samples/Mpu9250.sample.csproj b/src/devices/Mpu9250/samples/Mpu9250.sample.csproj
index 151f86aa12af2838316c3d9aa2de121691d315a5..c29a7c43c60f8f05da435a7f979ddb0bbf4b58e7 100644
--- a/src/devices/Mpu9250/samples/Mpu9250.sample.csproj
+++ b/src/devices/Mpu9250/samples/Mpu9250.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Nrf24l01/samples/Nrf24l01.Samples.csproj b/src/devices/Nrf24l01/samples/Nrf24l01.Samples.csproj
index fe040e38d9ff86fb1f472fb87f6985b3f00083ca..50c50d6a78da92041582f188ac9954bc06fe8819 100644
--- a/src/devices/Nrf24l01/samples/Nrf24l01.Samples.csproj
+++ b/src/devices/Nrf24l01/samples/Nrf24l01.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/OneWire/samples/OneWire.Samples.csproj b/src/devices/OneWire/samples/OneWire.Samples.csproj
index 4fd4d28df43963f1a3bd18c3b156101bcad927c9..7519f49b799a3fe0b39727e812605d70edf23fda 100644
--- a/src/devices/OneWire/samples/OneWire.Samples.csproj
+++ b/src/devices/OneWire/samples/OneWire.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Pca95x4/samples/Pca95x4.Samples.csproj b/src/devices/Pca95x4/samples/Pca95x4.Samples.csproj
index b1da98ec0be062c58ff96b398f0500b4a7b4c4d8..f5f4da4785334a86c78e65d22cd8bfc6a3ddf706 100644
--- a/src/devices/Pca95x4/samples/Pca95x4.Samples.csproj
+++ b/src/devices/Pca95x4/samples/Pca95x4.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Pca9685/samples/Pca9685.Sample.csproj b/src/devices/Pca9685/samples/Pca9685.Sample.csproj
index 8293db073a50070d7695c7d21855a0a7bfcec2b9..d47b304a701579e0c4b16cbe4164b72e56d1f163 100644
--- a/src/devices/Pca9685/samples/Pca9685.Sample.csproj
+++ b/src/devices/Pca9685/samples/Pca9685.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Pcd8544/samples/Pcd8544.samples.csproj b/src/devices/Pcd8544/samples/Pcd8544.samples.csproj
index b3636fb09649f1e41f4396c6dda73821237c336e..ebbd9b86085f73166b02438056596dc602f85fab 100644
--- a/src/devices/Pcd8544/samples/Pcd8544.samples.csproj
+++ b/src/devices/Pcd8544/samples/Pcd8544.samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Pcx857x/tests/Pcx857x.Tests.csproj b/src/devices/Pcx857x/tests/Pcx857x.Tests.csproj
index d5118e67d1be9a3acdcbefbe167d8eeaa4927c34..a6ccfb149eed38f6ce1d972e3ed80c820bacb55e 100644
--- a/src/devices/Pcx857x/tests/Pcx857x.Tests.csproj
+++ b/src/devices/Pcx857x/tests/Pcx857x.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
9
false
false
diff --git a/src/devices/Pn5180/samples/Pn5180sample.csproj b/src/devices/Pn5180/samples/Pn5180sample.csproj
index 67ef333d5ac8cecbb587fed50a88d35494bb7955..a527c61a88cf68f4cb1cecd45d36ca3fa8360c92 100644
--- a/src/devices/Pn5180/samples/Pn5180sample.csproj
+++ b/src/devices/Pn5180/samples/Pn5180sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Pn532/samples/Pn532sample.csproj b/src/devices/Pn532/samples/Pn532sample.csproj
index 92836c8526438e3636505ab79c63fae3a37a1eec..fac5d1cb4cd0035b316adc507379555fe62d781d 100644
--- a/src/devices/Pn532/samples/Pn532sample.csproj
+++ b/src/devices/Pn532/samples/Pn532sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/RGBLedMatrix/samples/Program.cs b/src/devices/RGBLedMatrix/samples/Program.cs
index 1e3409b1adb7de8921b27263aaef3fc969bcd443..5a7744bb6ead26ffd558f5375dd05d0d6250f522 100644
--- a/src/devices/RGBLedMatrix/samples/Program.cs
+++ b/src/devices/RGBLedMatrix/samples/Program.cs
@@ -208,6 +208,7 @@ void Demo3(RGBLedMatrix matrix)
zones[i] = TimeZoneInfo.FindSystemTimeZoneById(citiesData[i].ZoneId);
}
+#pragma warning disable SYSLIB0014 // Type or member is obsolete
using (WebClient client = new WebClient())
{
BdfFont font = BdfFont.Load(@"fonts/6x12.bdf");
@@ -302,6 +303,7 @@ void Demo3(RGBLedMatrix matrix)
cityIndex = (cityIndex + 1) % citiesData.Length;
}
}
+#pragma warning restore SYSLIB0014 // Type or member is obsolete
}
catch (Exception e)
{
@@ -316,7 +318,9 @@ unsafe void Demo4(RGBLedMatrix matrix)
byte blue = 0x15;
matrix.Fill(0, 0, blue);
+#pragma warning disable SYSLIB0014 // Type or member is obsolete
using WebClient client = new WebClient();
+#pragma warning restore SYSLIB0014 // Type or member is obsolete
int lastMinute = -1;
string temperature = string.Empty;
diff --git a/src/devices/RGBLedMatrix/samples/RGBLedMatrix.sample.csproj b/src/devices/RGBLedMatrix/samples/RGBLedMatrix.sample.csproj
index e8ff1fbe3fbf3a5b6a41fcfffe88f89f42afc96f..3f2ff7a9f1f940aae47faaedf5a7c519a61423d9 100644
--- a/src/devices/RGBLedMatrix/samples/RGBLedMatrix.sample.csproj
+++ b/src/devices/RGBLedMatrix/samples/RGBLedMatrix.sample.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
true
diff --git a/src/devices/RadioReceiver/samples/RadioReceiver.Samples.csproj b/src/devices/RadioReceiver/samples/RadioReceiver.Samples.csproj
index 4b040544764bded30d3bb07df132bcd290e4b69c..0d0b88d705841592bd7d75b2fa15fe8d3aba7d89 100644
--- a/src/devices/RadioReceiver/samples/RadioReceiver.Samples.csproj
+++ b/src/devices/RadioReceiver/samples/RadioReceiver.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/RadioTransmitter/samples/RadioTransmitter.Samples.csproj b/src/devices/RadioTransmitter/samples/RadioTransmitter.Samples.csproj
index 6d8e46b56b2e062f8d8bda634051bf5469dfe484..8a59e6203b84e5d0b342202df265c1582e39fa71 100644
--- a/src/devices/RadioTransmitter/samples/RadioTransmitter.Samples.csproj
+++ b/src/devices/RadioTransmitter/samples/RadioTransmitter.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/RotaryEncoder/samples/RotaryEncoder.Samples.csproj b/src/devices/RotaryEncoder/samples/RotaryEncoder.Samples.csproj
index e5489390fc227a75d940133ee7dbb2b55cdb96da..6175d0a37b52118cd658933f3d98fb5dc23deacc 100644
--- a/src/devices/RotaryEncoder/samples/RotaryEncoder.Samples.csproj
+++ b/src/devices/RotaryEncoder/samples/RotaryEncoder.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- netcoreapp2.1
+ netcoreapp3.1
diff --git a/src/devices/Rtc/samples/Rtc.Samples.csproj b/src/devices/Rtc/samples/Rtc.Samples.csproj
index b8a33307eb4bf73127f1e0b083b609b2461e9efe..8c8c50edf0b0e68f362b0961fc2f033b33fefe35 100644
--- a/src/devices/Rtc/samples/Rtc.Samples.csproj
+++ b/src/devices/Rtc/samples/Rtc.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Scd4x/samples/Scd4x.Samples.csproj b/src/devices/Scd4x/samples/Scd4x.Samples.csproj
index d60b16d7e3e521ad0f99751ad6379319aa31a50c..e6188fd51b7adfe6a56a719143fa5eaff7977dd3 100644
--- a/src/devices/Scd4x/samples/Scd4x.Samples.csproj
+++ b/src/devices/Scd4x/samples/Scd4x.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Seesaw/samples/Seesaw.Sample.BlinkingLights.csproj b/src/devices/Seesaw/samples/Seesaw.Sample.BlinkingLights.csproj
index 356427ba5613af803260fd8b5e70038b84acdf90..2fb46c979eab88711e1cad571f08440549eb079f 100644
--- a/src/devices/Seesaw/samples/Seesaw.Sample.BlinkingLights.csproj
+++ b/src/devices/Seesaw/samples/Seesaw.Sample.BlinkingLights.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Seesaw/samples/Seesaw.Sample.Capabilities.csproj b/src/devices/Seesaw/samples/Seesaw.Sample.Capabilities.csproj
index d22c20d838e2ddb97747098293c0bf4864f4ea0a..66cebc018c3590f0a9b671b9df2506c4fd7206f5 100644
--- a/src/devices/Seesaw/samples/Seesaw.Sample.Capabilities.csproj
+++ b/src/devices/Seesaw/samples/Seesaw.Sample.Capabilities.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/Seesaw/samples/Seesaw.Sample.SoilSensor.csproj b/src/devices/Seesaw/samples/Seesaw.Sample.SoilSensor.csproj
index 08c8fe636c07ebda5f53fec9812d9f4420ddaaed..5f1f0f709e71bc06f86428a6125b8a6846c4de57 100644
--- a/src/devices/Seesaw/samples/Seesaw.Sample.SoilSensor.csproj
+++ b/src/devices/Seesaw/samples/Seesaw.Sample.SoilSensor.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
false
diff --git a/src/devices/SenseHat/samples/SenseHat.Samples.csproj b/src/devices/SenseHat/samples/SenseHat.Samples.csproj
index 34f8d1a8a1bb44343a2d52e5ec8dd83b3edd9462..fc201d38ff8066fd491e894a9540e2a67e98228b 100644
--- a/src/devices/SenseHat/samples/SenseHat.Samples.csproj
+++ b/src/devices/SenseHat/samples/SenseHat.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/SensorHub/samples/SensorHub.Samples.csproj b/src/devices/SensorHub/samples/SensorHub.Samples.csproj
index eb681835274b60dd077793f72f4b8d4294a45b86..2c2a8b92c837dc54d1878f6da6325c3f2cc20166 100644
--- a/src/devices/SensorHub/samples/SensorHub.Samples.csproj
+++ b/src/devices/SensorHub/samples/SensorHub.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/SensorHub/tests/SensorHub.Tests.csproj b/src/devices/SensorHub/tests/SensorHub.Tests.csproj
index cf3abd7d07f94611ebaf1468f8f97afae5b4bced..c879c522b8c456199c1cec13dfc53c106c7d4d05 100644
--- a/src/devices/SensorHub/tests/SensorHub.Tests.csproj
+++ b/src/devices/SensorHub/tests/SensorHub.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp2.1
+ netcoreapp3.1
9
false
false
diff --git a/src/devices/ServoMotor/samples/ServoMotor.Sample.csproj b/src/devices/ServoMotor/samples/ServoMotor.Sample.csproj
index fd8050bf6ad3e4c0977978555f8134451b6fafcc..f24e2448eb13990bea517cb5563180c4359e3ab3 100644
--- a/src/devices/ServoMotor/samples/ServoMotor.Sample.csproj
+++ b/src/devices/ServoMotor/samples/ServoMotor.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/ServoMotor/tests/ServoMotor.Tests.csproj b/src/devices/ServoMotor/tests/ServoMotor.Tests.csproj
index 872d1b8d92649d4e5500a927ff37c9eeffb3cef1..54182b9b7afc47d94a63df0ae289fd80a508a5a7 100644
--- a/src/devices/ServoMotor/tests/ServoMotor.Tests.csproj
+++ b/src/devices/ServoMotor/tests/ServoMotor.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
9
false
false
diff --git a/src/devices/ShiftRegister/samples/ShiftRegister-driver.csproj b/src/devices/ShiftRegister/samples/ShiftRegister-driver.csproj
index 1dea46a738e6a92960ba1f88202a632c98c6e720..e3645fa1161931cb09e6322933bf60322ec50d11 100644
--- a/src/devices/ShiftRegister/samples/ShiftRegister-driver.csproj
+++ b/src/devices/ShiftRegister/samples/ShiftRegister-driver.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Sht3x/samples/Sht3x.Samples.csproj b/src/devices/Sht3x/samples/Sht3x.Samples.csproj
index 9357ca35168d24bcf8d7f1baa82d55df8ff63b0d..e8e42c36e6bbdc4c259357c5c22a309b08293638 100644
--- a/src/devices/Sht3x/samples/Sht3x.Samples.csproj
+++ b/src/devices/Sht3x/samples/Sht3x.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Sht4x/samples/Sht4x.Samples.csproj b/src/devices/Sht4x/samples/Sht4x.Samples.csproj
index 0806ca49a214c9af077d57b156a5934f9cd6b368..839a682b77de2e08206edc53d3f9546633a24465 100644
--- a/src/devices/Sht4x/samples/Sht4x.Samples.csproj
+++ b/src/devices/Sht4x/samples/Sht4x.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Shtc3/samples/Shtc3.Samples.csproj b/src/devices/Shtc3/samples/Shtc3.Samples.csproj
index 9ad0ed4cdfdd287de536cf12e1919e47de99dace..36f71d7f3d346e515e9730e86ac82019d08eea05 100644
--- a/src/devices/Shtc3/samples/Shtc3.Samples.csproj
+++ b/src/devices/Shtc3/samples/Shtc3.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Si7021/samples/Si7021.Samples.csproj b/src/devices/Si7021/samples/Si7021.Samples.csproj
index 93915054ca26b88df5f95b0e5182e2fba480fd35..7c69384622fd6e7b2b3a29ec5bc4d19959cc3e10 100644
--- a/src/devices/Si7021/samples/Si7021.Samples.csproj
+++ b/src/devices/Si7021/samples/Si7021.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Sn74hc595/samples/Sn74hc595-driver.csproj b/src/devices/Sn74hc595/samples/Sn74hc595-driver.csproj
index 8fbfd547375a4ac8e901ab7c57b0674c3a0225aa..e7bf4acba2d6a1d006324cb337db65c3e467443b 100644
--- a/src/devices/Sn74hc595/samples/Sn74hc595-driver.csproj
+++ b/src/devices/Sn74hc595/samples/Sn74hc595-driver.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/SocketCan/samples/SocketCan.Samples.csproj b/src/devices/SocketCan/samples/SocketCan.Samples.csproj
index e2cefe1cf6195742e7a1e47103638af96beac1b6..bfd552eea0cf3de575b24912c3c338d5bbfb432a 100644
--- a/src/devices/SocketCan/samples/SocketCan.Samples.csproj
+++ b/src/devices/SocketCan/samples/SocketCan.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/SoftPwm/samples/SoftPwm.sample.csproj b/src/devices/SoftPwm/samples/SoftPwm.sample.csproj
index db548748ed05e15063955f1033b0d62087392772..d84e815d4ac4041a99c841e360f616cecf4554f3 100644
--- a/src/devices/SoftPwm/samples/SoftPwm.sample.csproj
+++ b/src/devices/SoftPwm/samples/SoftPwm.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ssd1351/samples/Ssd1351.Samples.csproj b/src/devices/Ssd1351/samples/Ssd1351.Samples.csproj
index 1c792e889094dd461b5e3bd48378c1a149e6147c..7cd64f2e45c51f7d3ecc6923dc161d06c21707c8 100644
--- a/src/devices/Ssd1351/samples/Ssd1351.Samples.csproj
+++ b/src/devices/Ssd1351/samples/Ssd1351.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ssd13xx/samples/Ssd13xx.Samples.csproj b/src/devices/Ssd13xx/samples/Ssd13xx.Samples.csproj
index b2390cf298f4beed006b6f8fb67675d071772a31..09a2c257619ca763b1fd59203c91675de0f4d461 100644
--- a/src/devices/Ssd13xx/samples/Ssd13xx.Samples.csproj
+++ b/src/devices/Ssd13xx/samples/Ssd13xx.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ssd13xx/tests/Ssd13xx.Tests.csproj b/src/devices/Ssd13xx/tests/Ssd13xx.Tests.csproj
index 8599cc2ca699797acb707f1c53498c450986e30d..a8ddabe9130eb8116d64b8205a81da023e7b6702 100644
--- a/src/devices/Ssd13xx/tests/Ssd13xx.Tests.csproj
+++ b/src/devices/Ssd13xx/tests/Ssd13xx.Tests.csproj
@@ -1,6 +1,6 @@
- netcoreapp2.1
+ netcoreapp3.1
9
false
false
diff --git a/src/devices/StUsb4500/samples/StUsb4500.Samples.csproj b/src/devices/StUsb4500/samples/StUsb4500.Samples.csproj
index efe256298ff9bd24162c53041b58beffef35d3a6..a0c6784787f9d3e54a12882ddb60b9a6c591d620 100644
--- a/src/devices/StUsb4500/samples/StUsb4500.Samples.csproj
+++ b/src/devices/StUsb4500/samples/StUsb4500.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
latest
diff --git a/src/devices/Tcs3472x/samples/Tcs3472x.sample.csproj b/src/devices/Tcs3472x/samples/Tcs3472x.sample.csproj
index 630ff143cd3f4f50dea3c4ae3ca14a21b41f4be1..02207b024bb328570719abdd29f0c5df209619c7 100644
--- a/src/devices/Tcs3472x/samples/Tcs3472x.sample.csproj
+++ b/src/devices/Tcs3472x/samples/Tcs3472x.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Tm1637/samples/Tm1637.sample.csproj b/src/devices/Tm1637/samples/Tm1637.sample.csproj
index 4ba28d125c750dcc4db7d5bc23ad612bf1914f22..e65a757c04547f01e14b7082817289ed9973ac0a 100644
--- a/src/devices/Tm1637/samples/Tm1637.sample.csproj
+++ b/src/devices/Tm1637/samples/Tm1637.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Tsl256x/samples/Tsl256x.sample.csproj b/src/devices/Tsl256x/samples/Tsl256x.sample.csproj
index 8febfeea84395cf41ff9f98147c9cb825735ef93..32fe55c77572ac0b981fcda13774a6833d8e1233 100644
--- a/src/devices/Tsl256x/samples/Tsl256x.sample.csproj
+++ b/src/devices/Tsl256x/samples/Tsl256x.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/UFireIse/samples/UFireIse.Sample.csproj b/src/devices/UFireIse/samples/UFireIse.Sample.csproj
index 8293db073a50070d7695c7d21855a0a7bfcec2b9..d47b304a701579e0c4b16cbe4164b72e56d1f163 100644
--- a/src/devices/UFireIse/samples/UFireIse.Sample.csproj
+++ b/src/devices/UFireIse/samples/UFireIse.Sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Uln2003/samples/Uln2003.Samples.csproj b/src/devices/Uln2003/samples/Uln2003.Samples.csproj
index 0a056aa8c341fd1f529b0bdce38ae25950094e41..90575b0a2b990bb85811b74f109079a46cc7250a 100644
--- a/src/devices/Uln2003/samples/Uln2003.Samples.csproj
+++ b/src/devices/Uln2003/samples/Uln2003.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Vl53L0X/samples/Vl53L0X.sample.csproj b/src/devices/Vl53L0X/samples/Vl53L0X.sample.csproj
index 20975ccfc861eb1cfba1da355140c10cc5774405..0af201d9a58b994f72cd34194666cd027897d129 100644
--- a/src/devices/Vl53L0X/samples/Vl53L0X.sample.csproj
+++ b/src/devices/Vl53L0X/samples/Vl53L0X.sample.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/src/devices/Ws28xx/samples/Ws28xx.Samples.csproj b/src/devices/Ws28xx/samples/Ws28xx.Samples.csproj
index 723b14f506d66b85c13584ceeac0421be8edad65..629938ff422f6b063721a3f246365f75f46b4dbc 100644
--- a/src/devices/Ws28xx/samples/Ws28xx.Samples.csproj
+++ b/src/devices/Ws28xx/samples/Ws28xx.Samples.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/tools/DevicesApiTester/DeviceApiTester.csproj b/tools/DevicesApiTester/DeviceApiTester.csproj
index 021a4fddd7ec9d12f42657e8335ef2d6efe0db09..6e7f4c0bdbaf9be12a0dbd2c7f41653bbc4b476f 100644
--- a/tools/DevicesApiTester/DeviceApiTester.csproj
+++ b/tools/DevicesApiTester/DeviceApiTester.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp2.1
+ netcoreapp3.1
9
Debug;Release
The .NET Foundation
diff --git a/tools/GenerateDocFxStructure/GenerateDocFxStructure.csproj b/tools/GenerateDocFxStructure/GenerateDocFxStructure.csproj
index f3701a24f7993d7a933020d3b567f6fa19a34a01..76bc50eac36a59e9d3232a0d847936777f9007f2 100644
--- a/tools/GenerateDocFxStructure/GenerateDocFxStructure.csproj
+++ b/tools/GenerateDocFxStructure/GenerateDocFxStructure.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
diff --git a/tools/device-listing/device-listing.csproj b/tools/device-listing/device-listing.csproj
index 59804b067ea8a21bc96589ffa43b35f05bb29cf8..74954604db79d294ee9e7490df9a710e56d9fabb 100644
--- a/tools/device-listing/device-listing.csproj
+++ b/tools/device-listing/device-listing.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
diff --git a/tools/templates/DeviceBindingTemplate/dotnet_new_device-binding_csharp/samples/_DeviceBinding.Samples.csproj b/tools/templates/DeviceBindingTemplate/dotnet_new_device-binding_csharp/samples/_DeviceBinding.Samples.csproj
index c9da8006bfc267fefa899b2bce539bcceb7c3e1b..0d1d668f77e844176cdf6e2fc06bc42f60d268f2 100644
--- a/tools/templates/DeviceBindingTemplate/dotnet_new_device-binding_csharp/samples/_DeviceBinding.Samples.csproj
+++ b/tools/templates/DeviceBindingTemplate/dotnet_new_device-binding_csharp/samples/_DeviceBinding.Samples.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ $(DefaultSampleTfms)
diff --git a/tools/templates/DeviceBindingTemplate/dotnet_new_device-binding_csharp/tests/_DeviceBinding_Not_Required.Tests.csproj b/tools/templates/DeviceBindingTemplate/dotnet_new_device-binding_csharp/tests/_DeviceBinding_Not_Required.Tests.csproj
index d5f719b22d2c392a506e9249a34a5b3940fecf06..6fdcc989efb7899c57171f6fdf5388ebb94b692b 100644
--- a/tools/templates/DeviceBindingTemplate/dotnet_new_device-binding_csharp/tests/_DeviceBinding_Not_Required.Tests.csproj
+++ b/tools/templates/DeviceBindingTemplate/dotnet_new_device-binding_csharp/tests/_DeviceBinding_Not_Required.Tests.csproj
@@ -5,7 +5,7 @@
-->
- netcoreapp2.1
+ netcoreapp3.1
9
false
false