-
Notifications
You must be signed in to change notification settings - Fork 4
/
HomeSeerSamplePlugin.csproj
120 lines (120 loc) · 5.26 KB
/
HomeSeerSamplePlugin.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.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 Label="HomeSeer Properties">
<!--
This ID must be specified and match the value set in HSPI.Id
It is used to ensure that the Assembly name, namespace,
class ID, and HTML output directory correctly correspond to one another
-->
<PluginId>HomeSeerSamplePlugin</PluginId>
<!--
This is the root directory for the local HomeSeer installation.
The plugin will be automatically deployed to this directory after a successful build
-->
<HomeSeerRoot>..\Homeseer\Homeseer\</HomeSeerRoot>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{AC94E16E-96E3-4FAF-8B90-1CFA59F8A866}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>HSPI_$(PluginId)</RootNamespace>
<AssemblyName>HSPI_$(PluginId)</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32bit>false</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Release\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DirectToHs|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>$(HomeSeerRoot)</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Reference Include="HSCF, Version=1.0.0.2, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\HomeSeer-PluginSDK.1.3.0\lib\net462\HSCF.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="PluginSdk, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\HomeSeer-PluginSDK.1.3.0\lib\net462\PluginSdk.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Constants\Devices.cs" />
<Compile Include="Constants\Settings.cs" />
<Compile Include="Features\DeviceAddPostData.cs" />
<Compile Include="Features\SampleGuidedProcessData.cs" />
<Compile Include="Features\TriggerOptionItem.cs" />
<Compile Include="HSPI.cs" />
<Compile Include="SampleTriggerType.cs" />
<Compile Include="SpeakerClient.cs" />
<Compile Include="WriteLogSampleActionType.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<!--
Include the local HTML folder and all of the HTML files it contains.
If you need any CSS or JS files to accompany the feature content, include it in this folder
or within corresponding subdirectories (ex. html\js\ or html\css\)
-->
<ItemGroup>
<HtmlFiles Include="html\*">
<InProject>false</InProject>
</HtmlFiles>
</ItemGroup>
<ItemGroup>
<Content Include="html\add-sample-device.html" />
<Content Include="html\sample-blank.html" />
<Content Include="html\sample-guided-process.html" />
<Content Include="html\sample-trigger-feature.html" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.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">
</Target>
-->
<Target Name="AfterBuild" Condition=" '$(Configuration)|$(Platform)' == 'DirectToHs|AnyCPU' ">
<Copy SourceFiles="@(HtmlFiles)" DestinationFolder="$(OutputPath)\html\$(PluginId)" />
</Target>
</Project>