-
Notifications
You must be signed in to change notification settings - Fork 0
/
PhilipsHueSdPlugin.csproj
124 lines (114 loc) · 5.05 KB
/
PhilipsHueSdPlugin.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
121
122
123
124
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
<LangVersion>latest</LangVersion>
<!-- When building/running on Windows -->
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<!-- When on non-Windows environment, assume macOS for now -->
<!-- At this time, the only platforms we are really targetting, and supported by the Stream Deck SDK are Windows and macOS -->
<RuntimeIdentifiers Condition="'$(Configuration)'=='Release' ">win-x64;osx-x64</RuntimeIdentifiers>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>
<!-- Post build event scripts that deploy to stream deck -->
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)'=='Debug'">
<Exec Command="powershell -ExecutionPolicy Unrestricted -file "$(ProjectDir)RegisterPluginAndStartStreamDeck.ps1"" />
</Target>
<ItemGroup>
<None Remove="property_inspector\js\property-inspector_green.js" />
<None Remove="property_inspector\property_inspector_green.html" />
</ItemGroup>
<!--Dependencies-->
<ItemGroup>
<PackageReference Include="Q42.HueApi" Version="3.8.3" />
<PackageReference Include="Q42.HueApi.ColorConverters" Version="3.8.1" />
<PackageReference Include="StreamDeckLib" Version="0.*" />
<PackageReference Include="StreamDeckLib.Config" Version="0.*" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="3.0.1" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.3.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.2.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="Serilog" Version="2.7.1" />
<PackageReference Include="Serilog.Extensions.Logging" Version="2.0.2" />
<PackageReference Include="Serilog.Sinks.File" Version="4.0.0" />
<PackageReference Include="System.Net.WebSockets" Version="4.3.0" />
</ItemGroup>
<!--Deployment files that must go with the build executable -->
<ItemGroup>
<Content Include="manifest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<!-- Images that must be deployed with the executable -->
<ItemGroup>
<Content Include="images/actionDefaultImage.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="images/actionDefaultImage@2x.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="images/actionIcon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="images/actionIcon@2x.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="images/pluginIcon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="images/pluginIcon@2x.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="images/Fritz.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<!-- Property Inspector Files -->
<ItemGroup>
<Content Include="property_inspector\css\property-inspector.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="property_inspector\css\sdpi.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="property_inspector\js\property-inspector_green.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="property_inspector\js\property-inspector.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="property_inspector\property_inspector_green.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="property_inspector\property_inspector.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<!-- Build Helper -->
<ItemGroup>
<Content Include="PhilipsHueSdPlugin.cmd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<!-- Include the README.md as part of the project for easy reference -->
<ItemGroup>
<Content Include="README.md">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
</ItemGroup>
<!-- Post build scripts that must not be deployed with the executable -->
<ItemGroup>
<None Update="RegisterPluginAndStartStreamDeck.ps1">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="RegisterPluginAndStartStreamDeck.sh">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>