Skip to content

Commit bc10801

Browse files
committed
Prototyped migration of project libraries.
1 parent 93a32e8 commit bc10801

File tree

5 files changed

+44
-489
lines changed

5 files changed

+44
-489
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,196 +1,24 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProjectGuid>{8388CFCA-E3DB-43F7-B049-2CB195211CE8}</ProjectGuid>
7-
<OutputType>Library</OutputType>
8-
<AppDesignerFolder>Properties</AppDesignerFolder>
9-
<RootNamespace>Raspberry.IO.Components</RootNamespace>
10-
<AssemblyName>Raspberry.IO.Components</AssemblyName>
11-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
12-
<FileAlignment>512</FileAlignment>
13-
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
14-
</PropertyGroup>
15-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16-
<DebugSymbols>true</DebugSymbols>
17-
<DebugType>full</DebugType>
18-
<Optimize>false</Optimize>
19-
<OutputPath>bin\Debug\</OutputPath>
20-
<DefineConstants>DEBUG;TRACE</DefineConstants>
21-
<ErrorReport>prompt</ErrorReport>
22-
<WarningLevel>4</WarningLevel>
23-
</PropertyGroup>
24-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25-
<DebugType>pdbonly</DebugType>
26-
<Optimize>true</Optimize>
27-
<OutputPath>bin\Release\</OutputPath>
28-
<DefineConstants>TRACE</DefineConstants>
29-
<ErrorReport>prompt</ErrorReport>
30-
<WarningLevel>4</WarningLevel>
3+
<TargetFramework>net40</TargetFramework>
4+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
5+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
316
</PropertyGroup>
327
<ItemGroup>
33-
<Reference Include="Raspberry.System, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
34-
<HintPath>$(SolutionDir)packages\Raspberry.System.2.1\lib\net40\Raspberry.System.dll</HintPath>
35-
<Private>True</Private>
36-
</Reference>
37-
<Reference Include="System" />
38-
<Reference Include="System.Core" />
39-
<Reference Include="System.Configuration" />
40-
<Reference Include="Common.Logging.Core">
41-
<HintPath>$(SolutionDir)packages\Common.Logging.Core.3.3.1\lib\net40\Common.Logging.Core.dll</HintPath>
42-
</Reference>
43-
<Reference Include="Common.Logging">
44-
<HintPath>$(SolutionDir)packages\Common.Logging.3.3.1\lib\net40\Common.Logging.dll</HintPath>
45-
</Reference>
46-
<Reference Include="UnitsNet, Version=3.46.1.0, Culture=neutral, processorArchitecture=MSIL">
47-
<HintPath>$(SolutionDir)packages\UnitsNet.3.46.1\lib\net35\UnitsNet.dll</HintPath>
48-
<Private>True</Private>
49-
</Reference>
8+
<PackageReference Include="Raspberry.System" Version="2.1" />
9+
<PackageReference Include="Common.Logging" Version="3.3.1" />
10+
<PackageReference Include="UnitsNet" Version="3.46.1" />
11+
</ItemGroup>
12+
<ItemGroup>
13+
<ProjectReference Include="..\Raspberry.IO.InterIntegratedCircuit\Raspberry.IO.InterIntegratedCircuit.csproj" />
14+
<ProjectReference Include="..\Raspberry.IO.Interop\Raspberry.IO.Interop.csproj" />
15+
<ProjectReference Include="..\Raspberry.IO.SerialPeripheralInterface\Raspberry.IO.SerialPeripheralInterface.csproj" />
16+
<ProjectReference Include="..\Raspberry.IO.GeneralPurpose\Raspberry.IO.GeneralPurpose.csproj" />
17+
<ProjectReference Include="..\Raspberry.IO\Raspberry.IO.csproj" />
5018
</ItemGroup>
5119
<ItemGroup>
5220
<Compile Include="..\SharedAssemblyInfo.cs">
5321
<Link>Properties\SharedAssemblyInfo.cs</Link>
5422
</Compile>
55-
<Compile Include="Clocks\Ds1307Connection.cs" />
56-
<Compile Include="Controllers\Tlc59711\ExtensionMethods\ByteExtensionMethods.cs" />
57-
<Compile Include="Controllers\Tlc59711\IPwmChannels.cs" />
58-
<Compile Include="Controllers\Tlc59711\IPwmDevice.cs" />
59-
<Compile Include="Controllers\Tlc59711\ITlc59711Cluster.cs" />
60-
<Compile Include="Controllers\Tlc59711\ITlc59711Connection.cs" />
61-
<Compile Include="Controllers\Tlc59711\ITlc59711Device.cs" />
62-
<Compile Include="Controllers\Tlc59711\ITlc59711Settings.cs" />
63-
<Compile Include="Controllers\Tlc59711\Tlc59711Channels.cs" />
64-
<Compile Include="Controllers\Tlc59711\Tlc59711Cluster.cs" />
65-
<Compile Include="Controllers\Tlc59711\Tlc59711ClusterChannels.cs" />
66-
<Compile Include="Controllers\Tlc59711\Tlc59711Settings.cs" />
67-
<Compile Include="Controllers\Tlc59711\Tlc59711Connection.cs" />
68-
<Compile Include="Controllers\Tlc59711\Tlc59711Device.cs" />
69-
<Compile Include="Converters\Mcp3002\Mcp3002AnalogPinExtensionMethods.cs" />
70-
<Compile Include="Converters\Mcp3002\Mcp3002Channel.cs" />
71-
<Compile Include="Converters\Mcp3002\Mcp3002InputAnalogPin.cs" />
72-
<Compile Include="Converters\Mcp3002\Mcp3002SpiConnection.cs" />
73-
<Compile Include="Converters\Mcp3008\Mcp3008AnalogPinExtensionMethods.cs" />
74-
<Compile Include="Controllers\Pca9685\IPwmDevice.cs" />
75-
<Compile Include="Controllers\Pca9685\PwmChannel.cs" />
76-
<Compile Include="Converters\Mcp3008\Mcp3008Channel.cs" />
77-
<Compile Include="Converters\Mcp3008\Mcp3008InputAnalogPin.cs" />
78-
<Compile Include="Converters\Mcp3008\Mcp3008SpiConnection.cs" />
79-
<Compile Include="Converters\Mcp3208\Mcp3208AnalogPinExtensionMethods.cs" />
80-
<Compile Include="Converters\Mcp3208\Mcp3208Channel.cs" />
81-
<Compile Include="Converters\Mcp3208\Mcp3208InputAnalogPin.cs" />
82-
<Compile Include="Converters\Mcp3208\Mcp3208SpiConnection.cs" />
83-
<Compile Include="Converters\Mcp4822\Mcp4822AnalogPinExtensionMethods.cs" />
84-
<Compile Include="Converters\Mcp4822\Mcp4822Channel.cs" />
85-
<Compile Include="Converters\Mcp4822\Mcp4822OutputAnalogPin.cs" />
86-
<Compile Include="Converters\Mcp4822\Mcp4822SpiConnection.cs" />
87-
<Compile Include="Devices\PiFaceDigital\InputPinChangedArgs.cs" />
88-
<Compile Include="Devices\PiFaceDigital\InputPinChangedHandler.cs" />
89-
<Compile Include="Devices\PiFaceDigital\PiFaceDigitalDevice.cs" />
90-
<Compile Include="Devices\PiFaceDigital\PiFaceInputPin.cs" />
91-
<Compile Include="Devices\PiFaceDigital\PiFaceOutputPin.cs" />
92-
<Compile Include="Devices\PiFaceDigital\PiFacePin.cs" />
93-
<Compile Include="Displays\Hd44780\Command.cs" />
94-
<Compile Include="Displays\Hd44780\CursorShiftFlags.cs" />
95-
<Compile Include="Displays\Hd44780\DisplayFlags.cs" />
96-
<Compile Include="Displays\Hd44780\EntryModeFlags.cs" />
97-
<Compile Include="Displays\Hd44780\Functions.cs" />
98-
<Compile Include="Displays\Hd44780\Hd44780A00Encoding.cs" />
99-
<Compile Include="Displays\Hd44780\Hd44780LcdConnection.cs" />
100-
<Compile Include="Displays\Hd44780\Hd44780LcdConnectionSettings.cs" />
101-
<Compile Include="Displays\Hd44780\Hd44780Pins.cs" />
102-
<Compile Include="Displays\Hd44780\Hd44780Position.cs" />
103-
<Compile Include="Displays\Ssd1306\ScrollDirection.cs" />
104-
<Compile Include="Displays\Ssd1306\ScrollSpeed.cs" />
105-
<Compile Include="Expanders\Mcp23008\Mcp23008I2cConnection.cs" />
106-
<Compile Include="Expanders\Mcp23008\Mcp23008InputBinaryPin.cs" />
107-
<Compile Include="Expanders\Mcp23008\Mcp23008OutputBinaryPin.cs" />
108-
<Compile Include="Expanders\Mcp23008\Mcp23008Pin.cs" />
109-
<Compile Include="Expanders\Mcp23008\Mcp23008PinDirection.cs" />
110-
<Compile Include="Expanders\Mcp23008\Mcp23008PinExtensionMethods.cs" />
111-
<Compile Include="Expanders\Mcp23008\Mcp23008PinPolarity.cs" />
112-
<Compile Include="Expanders\Mcp23008\Mcp23008PinResistor.cs" />
113-
<Compile Include="Expanders\Mcp23017\Mcp23017InputBinaryPin.cs" />
114-
<Compile Include="Expanders\Mcp23017\Mcp23017OutputBinaryPin.cs" />
115-
<Compile Include="Expanders\Mcp23017\Mcp23017PinExtensionMethods.cs" />
116-
<Compile Include="Controllers\Pca9685\Pca9685Connection.cs" />
117-
<Compile Include="Expanders\Mcp23017\Mcp23017I2cConnection.cs" />
118-
<Compile Include="Expanders\Mcp23017\Mcp23017Pin.cs" />
119-
<Compile Include="Expanders\Mcp23017\Mcp23017PinDirection.cs" />
120-
<Compile Include="Expanders\Mcp23017\Mcp23017PinPolarity.cs" />
121-
<Compile Include="Expanders\Mcp23017\Mcp23017PinResistor.cs" />
122-
<Compile Include="Expanders\Pcf8574\Pcf8574I2cConnection.cs" />
123-
<Compile Include="Expanders\Pcf8574\Pcf8574InputBinaryPin.cs" />
124-
<Compile Include="Expanders\Pcf8574\Pcf8574OutputBinaryPin.cs" />
125-
<Compile Include="Expanders\Pcf8574\Pcf8574Pin.cs" />
126-
<Compile Include="Expanders\Pcf8574\Pcf8574PinExtensionMethods.cs" />
127-
<Compile Include="Properties\AssemblyInfo.cs" />
128-
<Compile Include="Sensors\Distance\HcSr04\HcSr04Connection.cs" />
129-
<Compile Include="Sensors\Distance\HcSr04\Units.cs" />
130-
<Compile Include="Sensors\Pressure\Bmp085\Bmp085Data.cs" />
131-
<Compile Include="Sensors\Pressure\Bmp085\Bmp085I2cConnectionExtensionMethods.cs" />
132-
<Compile Include="Sensors\Pressure\Bmp085\Bmp085Precision.cs" />
133-
<Compile Include="Sensors\Temperature\Dht\Dht11Connection.cs" />
134-
<Compile Include="Sensors\Temperature\Dht\Dht22Connection.cs" />
135-
<Compile Include="Sensors\Temperature\Dht\DhtConnection.cs" />
136-
<Compile Include="Sensors\Temperature\Dht\DhtData.cs" />
137-
<Compile Include="Sensors\Temperature\Dht\InvalidChecksumException.cs" />
138-
<Compile Include="Sensors\Temperature\Ds18b20\Ds18b20Connection.cs" />
139-
<Compile Include="Sensors\VariableResistiveDividerConnection.cs" />
140-
<Compile Include="Sensors\Temperature\Tmp36\Tmp36Connection.cs" />
141-
<Compile Include="Sensors\ResistiveDivider.cs" />
142-
<Compile Include="Leds\GroveRgb\GroveRgbConnection.cs" />
143-
<Compile Include="Displays\Ssd1306\Command.cs" />
144-
<Compile Include="Displays\Ssd1306\Ssd1306Connection.cs" />
145-
<Compile Include="Displays\Ssd1306\Fonts\IFont.cs" />
146-
<Compile Include="Displays\Ssd1306\Fonts\Fixed1L.cs" />
147-
<Compile Include="Displays\Ssd1306\Fonts\Proportional2L.cs" />
148-
<Compile Include="Displays\Ssd1306\Fonts\Proportional3L.cs" />
149-
<Compile Include="Leds\GroveRgb\RgbColor.cs" />
150-
<Compile Include="Leds\GroveBar\GroveBarConnection.cs" />
151-
<Compile Include="Sensors\Pressure\Bmp085\Bmp085I2CConnection.cs" />
152-
<Compile Include="Displays\Sda5708\Sda5708Brightness.cs" />
153-
<Compile Include="Displays\Sda5708\Sda5708Connection.cs" />
154-
<Compile Include="Displays\Sda5708\Sda5708Font.cs" />
155-
<Compile Include="Controllers\HT16K33\HT16K33Connection.cs" />
156-
<Compile Include="Leds\BiColor24Bargraph\BiColor24Bargraph.cs" />
157-
</ItemGroup>
158-
<ItemGroup>
159-
<ProjectReference Include="..\Raspberry.IO.InterIntegratedCircuit\Raspberry.IO.InterIntegratedCircuit.csproj">
160-
<Project>{63B8403E-BC56-43F9-A045-F61ECC3871F3}</Project>
161-
<Name>Raspberry.IO.InterIntegratedCircuit</Name>
162-
</ProjectReference>
163-
<ProjectReference Include="..\Raspberry.IO.Interop\Raspberry.IO.Interop.csproj">
164-
<Project>{689CB6C4-3D23-45DA-8E00-87C28AEA32D0}</Project>
165-
<Name>Raspberry.IO.Interop</Name>
166-
</ProjectReference>
167-
<ProjectReference Include="..\Raspberry.IO.SerialPeripheralInterface\Raspberry.IO.SerialPeripheralInterface.csproj">
168-
<Project>{326342E5-0411-40E8-9F2D-563D6B192568}</Project>
169-
<Name>Raspberry.IO.SerialPeripheralInterface</Name>
170-
</ProjectReference>
171-
<ProjectReference Include="..\Raspberry.IO.GeneralPurpose\Raspberry.IO.GeneralPurpose.csproj">
172-
<Project>{281C71ED-C36D-408E-8BAA-75C381DC17E7}</Project>
173-
<Name>Raspberry.IO.GeneralPurpose</Name>
174-
</ProjectReference>
175-
<ProjectReference Include="..\Raspberry.IO\Raspberry.IO.csproj">
176-
<Project>{ACE64F17-87E5-43E7-97A0-BDDE19059C61}</Project>
177-
<Name>Raspberry.IO</Name>
178-
</ProjectReference>
179-
</ItemGroup>
180-
<ItemGroup>
181-
<None Include="app.config" />
182-
<None Include="packages.config" />
18323
</ItemGroup>
184-
<ItemGroup />
185-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
186-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
187-
Other similar extension points exist, see Microsoft.Common.targets.
188-
<Target Name="BeforeBuild">
189-
</Target>
190-
<Target Name="AfterBuild">
191-
</Target>
192-
-->
193-
<ItemGroup />
194-
<ItemGroup />
195-
<ItemGroup />
19624
</Project>
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,19 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProjectGuid>{281C71ED-C36D-408E-8BAA-75C381DC17E7}</ProjectGuid>
7-
<OutputType>Library</OutputType>
8-
<AppDesignerFolder>Properties</AppDesignerFolder>
9-
<RootNamespace>Raspberry.IO.GeneralPurpose</RootNamespace>
10-
<AssemblyName>Raspberry.IO.GeneralPurpose</AssemblyName>
11-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
12-
<FileAlignment>512</FileAlignment>
13-
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
14-
</PropertyGroup>
15-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16-
<DebugSymbols>true</DebugSymbols>
17-
<DebugType>full</DebugType>
18-
<Optimize>false</Optimize>
19-
<OutputPath>bin\Debug\</OutputPath>
20-
<DefineConstants>DEBUG;TRACE</DefineConstants>
21-
<ErrorReport>prompt</ErrorReport>
22-
<WarningLevel>4</WarningLevel>
23-
<DocumentationFile>bin\Debug\Raspberry.IO.GeneralPurpose.XML</DocumentationFile>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DebugType>pdbonly</DebugType>
27-
<Optimize>true</Optimize>
28-
<OutputPath>bin\Release\</OutputPath>
29-
<DefineConstants>TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
32-
<DocumentationFile>bin\Release\Raspberry.IO.GeneralPurpose.XML</DocumentationFile>
3+
<TargetFramework>net40</TargetFramework>
4+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
5+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
336
</PropertyGroup>
347
<ItemGroup>
35-
<Reference Include="Raspberry.System, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
36-
<HintPath>$(SolutionDir)packages\Raspberry.System.2.1\lib\net40\Raspberry.System.dll</HintPath>
37-
<Private>True</Private>
38-
</Reference>
39-
<Reference Include="System" />
40-
<Reference Include="System.Configuration" />
41-
<Reference Include="System.Core" />
8+
<PackageReference Include="Raspberry.System" Version="2.1" />
9+
</ItemGroup>
10+
<ItemGroup>
11+
<ProjectReference Include="..\Raspberry.IO.Interop\Raspberry.IO.Interop.csproj" />
12+
<ProjectReference Include="..\Raspberry.IO\Raspberry.IO.csproj" />
4213
</ItemGroup>
4314
<ItemGroup>
4415
<Compile Include="..\SharedAssemblyInfo.cs">
4516
<Link>Properties\SharedAssemblyInfo.cs</Link>
4617
</Compile>
47-
<Compile Include="Behaviors\BlinkBehavior.cs" />
48-
<Compile Include="Behaviors\ChaserBehavior.cs" />
49-
<Compile Include="Behaviors\PatternBehavior.cs" />
50-
<Compile Include="Behaviors\PinsBehavior.cs" />
51-
<Compile Include="Behaviors\PinsBehaviorExtensionMethods.cs" />
52-
<Compile Include="Configuration\GpioConnectionConfigurationSection.cs" />
53-
<Compile Include="ConnectedPin.cs" />
54-
<Compile Include="ConnectedPins.cs" />
55-
<Compile Include="FileGpioConnectionDriver.cs" />
56-
<Compile Include="FileGpioHandle.cs" />
57-
<Compile Include="GpioBinaryPinExtensionMethods.cs" />
58-
<Compile Include="GpioConnectionDriver.cs" />
59-
<Compile Include="GpioConnectionDriverCapabilities.cs" />
60-
<Compile Include="GpioConnectionDriverExtensionMethods.cs" />
61-
<Compile Include="GpioConnectionSettings.cs" />
62-
<Compile Include="GpioInputBinaryPin.cs" />
63-
<Compile Include="GpioInputOutputBinaryPin.cs" />
64-
<Compile Include="GpioOutputBinaryPin.cs" />
65-
<Compile Include="Interop.cs" />
66-
<Compile Include="PinDetectedEdges.cs" />
67-
<Compile Include="PinResistor.cs" />
68-
<Compile Include="ProcessorPinExtensionMethods.cs" />
69-
<Compile Include="ProcessorPins.cs" />
70-
<Compile Include="MemoryGpioConnectionDriver.cs" />
71-
<Compile Include="ConnectorPin.cs" />
72-
<Compile Include="IGpioConnectionDriver.cs" />
73-
<Compile Include="InputPinConfiguration.cs" />
74-
<Compile Include="GpioConnection.cs" />
75-
<Compile Include="OutputPinConfiguration.cs" />
76-
<Compile Include="PinConfiguration.cs" />
77-
<Compile Include="PinMapping.cs" />
78-
<Compile Include="PinConfigurationExtensionMethods.cs" />
79-
<Compile Include="ProcessorPin.cs" />
80-
<Compile Include="PinDirection.cs" />
81-
<Compile Include="PinStatusEventArgs.cs" />
82-
<Compile Include="Properties\AssemblyInfo.cs" />
83-
<Compile Include="SwitchInputPinConfiguration.cs" />
84-
</ItemGroup>
85-
<ItemGroup>
86-
<ProjectReference Include="..\Raspberry.IO.Interop\Raspberry.IO.Interop.csproj">
87-
<Project>{689CB6C4-3D23-45DA-8E00-87C28AEA32D0}</Project>
88-
<Name>Raspberry.IO.Interop</Name>
89-
</ProjectReference>
90-
<ProjectReference Include="..\Raspberry.IO\Raspberry.IO.csproj">
91-
<Project>{ACE64F17-87E5-43E7-97A0-BDDE19059C61}</Project>
92-
<Name>Raspberry.IO</Name>
93-
</ProjectReference>
94-
</ItemGroup>
95-
<ItemGroup>
96-
<None Include="packages.config" />
9718
</ItemGroup>
98-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
99-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
100-
Other similar extension points exist, see Microsoft.Common.targets.
101-
<Target Name="BeforeBuild">
102-
</Target>
103-
<Target Name="AfterBuild">
104-
</Target>
105-
-->
10619
</Project>

0 commit comments

Comments
 (0)