未验证 提交 15ede2e7 编写于 作者: J Jose Perez Rodriguez 提交者: GitHub

Moving all of our projects to use Project-to-Project references instead of...

Moving all of our projects to use Project-to-Project references instead of package references. (#622)

* Move from PackageReference to P2P for S.D.G

* Remove auto-dependencies and fix all remainig P2Ps
上级 89601f78
......@@ -6,6 +6,7 @@
<PropertyGroup>
<Copyright>$(CopyrightNetFoundation)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<MainLibraryPath>$(MSBuildThisFileDirectory)src/System.Device.Gpio/</MainLibraryPath>
</PropertyGroup>
<PropertyGroup>
......
<?xml version="1.0" encoding="utf-8"?>
<Dependencies>
<ProductDependencies>
<Dependency Name="System.Device.Gpio" Version="0.1.0-prerelease.19372.3">
<Uri>https://github.com/dotnet/iot</Uri>
<Sha>d32ad7a6af6edc0a33820a7fd51135c6d9a80738</Sha>
</Dependency>
<Dependency Name="Iot.Device.Bindings" Version="0.1.0-prerelease.19372.3">
<Uri>https://github.com/dotnet/iot</Uri>
<Sha>d32ad7a6af6edc0a33820a7fd51135c6d9a80738</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19372.10">
<Uri>https://github.com/dotnet/arcade</Uri>
......
......@@ -2,10 +2,6 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PreReleaseVersionLabel>prerelease</PreReleaseVersionLabel>
<!-- dotnet/iot dependencies -->
<SystemDeviceGpioPackageVersion>0.1.0-prerelease.19372.3</SystemDeviceGpioPackageVersion>
<IotDeviceBindingsPackageVersion>0.1.0-prerelease.19372.3</IotDeviceBindingsPackageVersion>
<!-- dotnet/arcade dependencies -->
<MicrosoftDotNetGenAPIPackageVersion>1.0.0-beta.19372.10</MicrosoftDotNetGenAPIPackageVersion>
</PropertyGroup>
<!-- Restore sources -->
......
......@@ -6,5 +6,7 @@
<NoWarn>$(NoWarn);CS8321</NoWarn>
<DeterministicSourcePaths>false</DeterministicSourcePaths>
<IsPackable>false</IsPackable>
<MainLibraryPath>$(MSBuildThisFileDirectory)../src/System.Device.Gpio/</MainLibraryPath>
<IotBindingsLibraryPath>$(MSBuildThisFileDirectory)../src/Iot.Device.Bindings/</IotBindingsLibraryPath>
</PropertyGroup>
</Project>
......@@ -4,6 +4,7 @@
using System;
using Iot.Device.Mcp3008;
using Iot.Device.Spi;
namespace force_sensitive_resistor
{
......@@ -16,9 +17,8 @@ namespace force_sensitive_resistor
public FsrWithAdcSample()
{
// Create a ADC convertor instance you are using depending how you wired ADC pins to controller
// in this example used ADC Mcp3008 with "bit-banging" wiring method.
// please refer https://github.com/dotnet/iot/tree/master/src/devices/Mcp3008/samples for more information
_adcConvertor = new Mcp3008(18, 23, 24, 25);
// in this example used ADC Mcp3008 with software spi method. If you want to do hardware spi, then call SoftwareSpi.Create()
_adcConvertor = new Mcp3008(new SoftwareSpi(18, 23, 24, 25));
}
public double CalculateVoltage(int readValue)
......
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
......@@ -7,7 +7,10 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Iot.Device.Bindings" Version="$(IotDeviceBindingsPackageVersion)" />
<ProjectReference Include="$(IotBindingsLibraryPath)Iot.Device.Bindings.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -7,7 +7,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
......@@ -7,7 +7,10 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Iot.Device.Bindings" Version="$(IotDeviceBindingsPackageVersion)" />
<ProjectReference Include="$(IotBindingsLibraryPath)Iot.Device.Bindings.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -22,7 +22,7 @@
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="4.6.0-preview4.19164.7" />
<ProjectReference Include="$(MSBuildThisFileDirectory)../System.Device.Gpio/System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
......
......@@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)../System.Device.Gpio/System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties Condition="'$(RuntimeIdentifier)' != ''">RuntimeIdentifier=$(RuntimeIdentifier.SubString(0, $(RuntimeIdentifier.IndexOf('-'))))</AdditionalProperties>
</ProjectReference>
</ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="I2cAddress.cs" />
<Compile Include="ComparatorLatching.cs" />
<Compile Include="ComparatorMode.cs" />
......
......@@ -14,6 +14,9 @@
<ItemGroup>
<ProjectReference Include="..\Ads1115.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="GravityRange.cs" />
<Compile Include="Register.cs" />
<Compile Include="Adxl345.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Adxl345.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Register.cs" />
<Compile Include="Ags01db.cs" />
</ItemGroup>
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Ags01db.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Bh1750fvi.cs" />
<Compile Include="Command.cs" />
<Compile Include="I2cAddress.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Bh1750fvi.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -10,7 +10,9 @@
<Compile Include="CalibrationData.cs" />
<Compile Include="Register.cs" />
<Compile Include="Sampling.cs" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
<None Include="README.md"/>
</ItemGroup>
......
......@@ -12,6 +12,9 @@
<ItemGroup>
<ProjectReference Include="..\Bmp180.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -26,7 +26,9 @@
<Compile Include="Register\Bme280Register.cs" />
<Compile Include="Sampling.cs" />
<Compile Include="StandbyTime.cs" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
</ItemGroup>
......
......@@ -17,6 +17,9 @@
<ItemGroup>
<ProjectReference Include="..\Bmxx80.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -17,6 +17,9 @@
<ItemGroup>
<ProjectReference Include="..\Bmxx80.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -17,6 +17,9 @@
<ItemGroup>
<ProjectReference Include="..\Bmxx80.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -8,7 +8,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<Compile Include="Models/*.cs" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<PackageReference Include="System.Memory" Version="4.5.2" />
<ProjectReference Include="..\Units\Units.csproj" />
</ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<None Include="README.md" />
</ItemGroup>
......
......@@ -9,7 +9,7 @@
<ItemGroup>
<Compile Include="Buzzer.cs" />
<None Include="README.md" />
<ProjectReference Include="$(MSBuildThisFileDirectory)../../System.Device.Gpio/System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
......
......@@ -7,7 +7,7 @@
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)../Buzzer.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)../../../System.Device.Gpio/System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
......
......@@ -19,7 +19,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<None Include="README.md" />
</ItemGroup>
......
......@@ -8,7 +8,9 @@
<ItemGroup>
<ProjectReference Include="../../Mcp23xxx/Mcp23xxx.csproj" />
<ProjectReference Include="../../Pcx857x/Pcx857x.csproj" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\CharacterLcd.csproj" />
</ItemGroup>
......
......@@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)../../System.Device.Gpio/System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)../SoftPwm/SoftwarePwm.csproj" />
......
......@@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)../../../System.Device.Gpio/System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)../../SoftPwm\SoftwarePwm.csproj" />
......
......@@ -18,7 +18,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
<None Include="README.md" />
</ItemGroup>
......
......@@ -10,7 +10,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<None Include="README.md" />
</ItemGroup>
......
......@@ -5,5 +5,6 @@
<NoWarn>$(NoWarn);CS8321</NoWarn>
<DeterministicSourcePaths>false</DeterministicSourcePaths>
<IsPackable>false</IsPackable>
<MainLibraryPath>$(MSBuildThisFileDirectory)../System.Device.Gpio/</MainLibraryPath>
</PropertyGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Ds1307.cs" />
<Compile Include="Register.cs" />
</ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Ds1307.csproj" />
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
<Compile Include="Ds3231.cs" />
<Compile Include="Register.cs" />
......
......@@ -13,7 +13,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Ds3231.csproj" />
</ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<PackageReference Include="System.Memory" Version="4.5.2" />
<None Include="README.md" />
</ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<PackageReference Include="System.Memory" Version="4.5.2" />
<None Include="README.md" />
</ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Hcsr04.cs" />
<None Include="README.md" />
</ItemGroup>
......
......@@ -7,7 +7,9 @@
<ItemGroup>
<ProjectReference Include="../Hcsr04.csproj" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Hcsr501.cs" />
<Compile Include="Hcsr501ValueChangedEventArgs.cs" />
</ItemGroup>
......
......@@ -14,7 +14,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Gain.cs" />
<Compile Include="MeasurementConfiguration.cs" />
<Compile Include="MeasuringMode.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Hmc5883l.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -8,7 +8,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<None Include="README.md" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
</ItemGroup>
......
......@@ -8,6 +8,9 @@
<ItemGroup>
<ProjectReference Include="../Hts221.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
<Compile Include="Register.cs" />
<Compile Include="Lm75.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Lm75.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -8,7 +8,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<None Include="README.md" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
</ItemGroup>
......
......@@ -8,6 +8,9 @@
<ItemGroup>
<ProjectReference Include="../Lps25h.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -8,7 +8,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<None Include="README.md" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -8,6 +8,9 @@
<ItemGroup>
<ProjectReference Include="../Lsm9Ds1.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="IntegrationTime.cs" />
<Compile Include="Max44009.cs" />
<Compile Include="Register.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Max44009.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -7,7 +7,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Max7219.cs" />
<Compile Include="MatrixGraphics.cs" />
<Compile Include="IFont.cs" />
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="..\Common\System\Device\Gpio\PinVector32.cs" Link="PinVector32.cs" />
<Compile Include="BankStyle.cs" />
<Compile Include="I2cAdapter.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)\..\Mcp23xxx.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -9,7 +9,9 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="InstructionFormat.cs" />
<Compile Include="Mcp25xxx.cs" />
<Compile Include="Mcp2515.cs" />
......
......@@ -8,6 +8,9 @@
<ItemGroup>
<ProjectReference Include="..\Mcp25xxx.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -14,6 +14,9 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Mcp3008.cs" />
<None Include="README.md" />
</ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -9,7 +9,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<None Include="README.md" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="../Mcp3428.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -13,7 +13,9 @@
<Compile Include="Mpr121Configuration.cs" />
<Compile Include="Registers.cs" />
<None Include="README.md" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="../Mpr121.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="Command.cs" />
<Compile Include="DataRate.cs" />
<Compile Include="DataReceivedEventArgs.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Nrf24l01.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -16,7 +16,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -18,7 +18,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -7,7 +7,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<Compile Include="..\Common\System\Device\Gpio\PinVector32.cs" Link="PinVector32.cs" />
<Compile Include="..\Common\System\Device\Gpio\PinVector64.cs" Link="PinVector64.cs" />
<Compile Include="Pca8574.cs" />
......
......@@ -9,7 +9,9 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -8,7 +8,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<PackageReference Include="System.Drawing.Common" Version="4.6.0-preview4.19164.7" />
</ItemGroup>
......
......@@ -8,7 +8,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<None Include="README.md" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Lsm9Ds1\Lsm9Ds1.csproj" />
<ProjectReference Include="..\Hts221\Hts221.csproj" />
<ProjectReference Include="..\Lps25h\Lps25h.csproj" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="../SenseHat.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -16,7 +16,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)../../System.Device.Gpio/System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<None Include="README.md" />
......
......@@ -7,7 +7,7 @@
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)\..\Servo.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)\..\..\..\System.Device.Gpio\System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
<Compile Include="I2cAddress.cs" />
<Compile Include="Resolution.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Sht3x.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\Units\Units.csproj" />
<Compile Include="Si7021.cs" />
<Compile Include="Register.cs" />
......
......@@ -7,6 +7,9 @@
<ItemGroup>
<ProjectReference Include="..\Si7021.csproj" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
......
......@@ -11,7 +11,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<None Include="README.md" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -11,7 +11,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)../../System.Device.Gpio/System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<None Include="README.md" />
......
......@@ -7,7 +7,7 @@
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)\..\SoftwarePwm.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)\..\..\..\System.Device.Gpio\System.Device.Gpio.csproj">
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
......
......@@ -170,7 +170,7 @@ namespace Iot.Device.Spi
}
/// <inheritdoc />
public override void Dispose(bool disposing)
protected override void Dispose(bool disposing)
{
_controller?.Dispose();
_controller = null;
......
......@@ -9,7 +9,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<None Include="README.md" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -18,7 +18,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
......@@ -6,7 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-*" />
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.0-*" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-*" />
......
......@@ -7,7 +7,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
</ItemGroup>
......
......@@ -7,7 +7,9 @@
<ItemGroup>
<Compile Include="*.cs" />
<PackageReference Include="System.Device.Gpio" Version="$(SystemDeviceGpioPackageVersion)" />
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj">
<AdditionalProperties>$(AdditionalProperties);RuntimeIdentifier=linux</AdditionalProperties>
</ProjectReference>
<PackageReference Include="System.Memory" Version="4.5.2" />
</ItemGroup>
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册