-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNanoleaf-Plugin.csproj
111 lines (111 loc) · 7.64 KB
/
Nanoleaf-Plugin.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net6.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<ApplicationIcon>DMXC3_Nanoleaf_Plugin.ico</ApplicationIcon>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<RootNamespace>Nanoleaf_Plugin</RootNamespace>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<PropertyGroup>
<RuntimeIdentifiers>win</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<Deterministic>True</Deterministic>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<Deterministic>True</Deterministic>
</PropertyGroup>
<ItemGroup>
<Reference Include="Lumos">
<HintPath Condition="Exists('..\..\Lumos\3.3\Lumos\bin\Debug\net6.0')">..\..\Lumos\3.3\Lumos\bin\Debug\net6.0\Lumos.dll</HintPath>
<HintPath Condition="Exists('..\..\Lumos\Lumos\bin\Debug\net6.0')">..\..\Lumos\Lumos\bin\Debug\net6.0\Lumos.dll</HintPath>
<HintPath Condition="Exists('..\dep')">..\dep\Lumos.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="LumosLIB">
<HintPath Condition="Exists('..\..\Lumos\3.3\LumosLIB\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosLIB\bin\Debug\netstandard2.0\LumosLIB.dll</HintPath>
<HintPath Condition="Exists('..\..\Lumos\LumosLIB\bin\Debug\netstandard2.0')">..\..\Lumos\LumosLIB\bin\Debug\netstandard2.0\LumosLIB.dll</HintPath>
<HintPath Condition="Exists('..\dep')">..\dep\LumosLIB.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="LumosToolsLIB">
<HintPath Condition="Exists('..\..\Lumos\3.3\LumosToolsLIB\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosToolsLIB\bin\Debug\netstandard2.0\LumosToolsLIB.dll</HintPath>
<HintPath Condition="Exists('..\..\Lumos\LumosToolsLIB\bin\Debug\netstandard2.0')">..\..\Lumos\LumosToolsLIB\bin\Debug\netstandard2.0\LumosToolsLIB.dll</HintPath>
<HintPath Condition="Exists('..\dep')">..\dep\LumosToolsLIB.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="LumosProtobuf">
<HintPath Condition="Exists('..\..\Lumos\3.3\LumosProtobuf\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosProtobuf\bin\Debug\netstandard2.0\LumosProtobuf.dll</HintPath>
<HintPath Condition="Exists('..\..\Lumos\LumosProtobuf\bin\Debug\netstandard2.0')">..\..\Lumos\LumosProtobuf\bin\Debug\netstandard2.0\LumosProtobuf.dll</HintPath>
<HintPath Condition="Exists('..\dep')">..\dep\LumosProtobuf.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="log4net">
<HintPath Condition="Exists('..\..\Lumos\3.3\Lumos\bin\Debug\net6.0')">..\..\Lumos\3.3\Lumos\bin\Debug\net6.0\log4net.dll</HintPath>
<HintPath Condition="Exists('..\..\Lumos\Lumos\bin\Debug\net6.0')">..\..\Lumos\Lumos\bin\Debug\net6.0\log4net.dll</HintPath>
<HintPath Condition="Exists('..\dep')">..\dep\log4net.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Update="Properties\Settings.Designer.cs">
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="DMXC3_Nanoleaf_Plugin.ico" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.1" />
<PackageReference Include="NanoleafAPI" Version="1.0.1" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="System.Drawing.Common" Version="9.0.1" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Resources.Extensions" Version="8.0.0" />
<PackageReference Include="System.Text.Encodings.Web" Version="8.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>
<ItemGroup>
<Compile Remove="NanoleafGUI-Plugin\obj\Debug\net48\.NETFramework,Version=v4.8.AssemblyAttributes.cs" />
<Compile Remove="NanoleafGUI-Plugin\Plugin\AddControlerForm.cs" />
<Compile Remove="NanoleafGUI-Plugin\Plugin\AddControlerForm.Designer.cs" />
<Compile Remove="NanoleafGUI-Plugin\Plugin\NanoleafGUI-Plugin.cs" />
<Compile Remove="NanoleafGUI-Plugin\Plugin\NanoleafSettingsForm.cs" />
<Compile Remove="NanoleafGUI-Plugin\Plugin\NanoleafSettingsForm.Designer.cs" />
<Compile Remove="NanoleafGUI-Plugin\Plugin\Tools.cs" />
<Compile Remove="NanoleafGUI-Plugin\Properties\Resources.Designer.cs" />
<Compile Remove="NanoleafTests\obj\Debug\net48\.NETFramework,Version=v4.8.AssemblyAttributes.cs" />
<Compile Remove="NanoleafTests\Properties\AssemblyInfo.cs" />
<Compile Remove="NanoleafTests\UnitTest1.cs" />
<Compile Remove="NanoleafTest\obj\Debug\.NETFramework,Version=v4.8.AssemblyAttributes.cs" />
<Compile Remove="NanoleafTest\Program.cs" />
<Compile Remove="NanoleafTest\Properties\AssemblyInfo.cs" />
<EmbeddedResource Remove="NanoleafGUI-Plugin\Plugin\AddControlerForm.resx" />
<EmbeddedResource Remove="NanoleafGUI-Plugin\Plugin\NanoleafSettingsForm.resx" />
<EmbeddedResource Remove="NanoleafGUI-Plugin\Properties\Resources.resx" />
</ItemGroup>
<ItemGroup>
<None Update="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="FOR /F "skip=2 tokens=2,*" %25%25A IN ('reg.exe query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Lumos.exe" /v ""') DO set "DMXCRF=%25%25B"
xcopy "$(TargetDir)Nanoleaf-Plugin.*" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I

xcopy "$(TargetDir)NanoleafAPI.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)Zeroconf.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)SSDP.UPnP.PCL.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)ISSDP.UPnP.PCL.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)SimpleHttpListener.Rx.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)ISimpleHttpListener.Rx.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)HttpMachine.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)IHttpMachine.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)System.Reactive.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)System.Text.Json.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)System.Text.Encodings.Web.dll" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
xcopy "$(TargetDir)Microsoft.Extensions.*" "%25DMXCRF%25\Kernel\Plugins\Nanoleaf\" /C /F /R /Y /I
)" />
</Target>
</Project>