-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Iot.Device.Bindings package (#155)
* Adding Iot.Device.Bindings package * Adding missing tag
- Loading branch information
Showing
9 changed files
with
66 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Project> | ||
<!-- Packaging related properties --> | ||
<PropertyGroup> | ||
<MajorVersion>0</MajorVersion> | ||
<MinorVersion>1</MinorVersion> | ||
<Description>This preview package provides a set of Device Bindings that use System.Device.Gpio package to communicate with a microcontroller.</Description> | ||
<Copyright>Microsoft Corporation, All rights reserved.</Copyright> | ||
<PackageTags>.NET Core GPIO Pins SPI I2C PWM BCM2835 BCM2837 RPi IoT Device Bindings</PackageTags> | ||
</PropertyGroup> | ||
|
||
<Import Project="..\..\Directory.Build.props" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp2.1</TargetFramework> | ||
<LangVersion>Latest</LangVersion> | ||
<EnableDefaultItems>false</EnableDefaultItems> | ||
<IsPackable>true</IsPackable> | ||
<DeviceRoot>$(MSBuildThisFileDirectory)../devices/</DeviceRoot> | ||
<ProduceReferenceAssembly>true</ProduceReferenceAssembly> | ||
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);PackageRefAssembly</TargetsForTfmSpecificContentInPackage> | ||
<!--Disabling default items so samples source won't get build by the main library--> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<_ExcludeFromCompile Include="$(DeviceRoot)**/samples/**/*.cs" /> | ||
<_ExcludeFromCompile Include="$(DeviceRoot)**/tests/**/*.cs" /> | ||
<_ExcludeFromCompile Include="$(DeviceRoot)**/obj/**/*.cs" /> | ||
<Compile Include="$(DeviceRoot)**/*.cs" Exclude="@(_ExcludeFromCompile)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="$(MSBuildThisFileDirectory)../System.Device.Gpio/System.Device.Gpio.csproj"> | ||
<AdditionalProperties>RuntimeIdentifier=linux</AdditionalProperties> | ||
</ProjectReference> | ||
</ItemGroup> | ||
|
||
<Target Name="PackageRefAssembly"> | ||
<ItemGroup> | ||
<TfmSpecificPackageFile Include="$(TargetRefPath)"> | ||
<PackagePath>ref/$(TargetFramework)</PackagePath> | ||
</TfmSpecificPackageFile> | ||
</ItemGroup> | ||
</Target> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<PropertyGroup> | ||
<NoWarn>$(NoWarn);CS8321</NoWarn> | ||
<DeterministicSourcePaths>false</DeterministicSourcePaths> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<NoWarn>$(NoWarn);CS8321</NoWarn> | ||
<DeterministicSourcePaths>false</DeterministicSourcePaths> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters