grovepi/Software/CSharp/GrovePi/GrovePi.csproj
2025-03-21 16:04:17 +01:00

107 lines
No EOL
5.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{A667742A-B887-4B46-8EC1-C671E8BEC5E4}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GrovePi</RootNamespace>
<AssemblyName>GrovePi</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10240.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<PlatformTarget>ARM</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<GenerateLibraryLayout>true</GenerateLibraryLayout>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<PlatformTarget>ARM</PlatformTarget>
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<GenerateLibraryLayout>true</GenerateLibraryLayout>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<None Include="GrovePi.nuspec" />
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
<Compile Include="Common\Delay.cs" />
<Compile Include="Constants.cs" />
<Compile Include="DeviceFactory.cs" />
<Compile Include="GrovePi.cs" />
<Compile Include="I2CDevices\MiniMotorDriver.cs" />
<Compile Include="I2CDevices\OLEDDisplay128X64.cs" />
<Compile Include="I2CDevices\OLEDDisplay9696.cs" />
<Compile Include="I2CDevices\RgbLcdDisplay.cs" />
<Compile Include="I2CDevices\SixAxisAccelerometerAndCompass.cs" />
<Compile Include="I2CDevices\ThreeAxisAccelerometerADXL345.cs" />
<Compile Include="Sensors\AirQualitySensor.cs" />
<Compile Include="Sensors\ButtonSensor.cs" />
<Compile Include="Sensors\Buzzer.cs" />
<Compile Include="I2CDevices\SHTTemperatureAndHumiditySensor.cs" />
<Compile Include="Sensors\GasSensorMQ2.cs" />
<Compile Include="Sensors\Led.cs" />
<Compile Include="Pin.cs" />
<Compile Include="PinMode.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Sensors\AccelerometerSensor.cs" />
<Compile Include="Sensors\ChainableRgbLed.cs" />
<Compile Include="Sensors\FourDigitDisplay.cs" />
<Compile Include="Sensors\LedBar.cs" />
<Compile Include="Sensors\LightSensor.cs" />
<Compile Include="Sensors\PIRMotionSensor.cs" />
<Compile Include="Sensors\RealTimeClock.cs" />
<Compile Include="Sensors\Relay.cs" />
<Compile Include="Sensors\RotaryAngleSensor.cs" />
<Compile Include="Sensors\Sensor.cs" />
<Compile Include="Sensors\SensorStatus.cs" />
<Compile Include="Sensors\SoundSensor.cs" />
<Compile Include="Sensors\DHTTemperatureAndHumiditySensor .cs" />
<Compile Include="Sensors\TemperatureAndHumiditySensor.cs" />
<Compile Include="Sensors\TemperatureSensor.cs" />
<Compile Include="Sensors\UltrasonicRangerSensor.cs" />
<Compile Include="Sensors\WaterAtomizer.cs" />
<Content Include="Properties\client.winU.rd.xml" />
</ItemGroup>
<ItemGroup>
<SDKReference Include="WindowsIoT, Version=10.0.10240.0">
<Name>Windows IoT Extensions for the UWP</Name>
</SDKReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
-->
<Target Name="AfterBuild" Condition="'$(Configuration)' == 'Release'">
<Exec Command="nuget pack $(MSBuildProjectFile) -OutputDirectory $(OutDir) -Symbols -Prop Configuration=$(Configuration) -Prop TargetPath=$(OutDir)$(AssemblyName)$(TargetExt)" />
</Target>
</Project>