forked from panuoksala/streamdeck-azuredevops-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StreamDeckAzureDevOps.csproj
102 lines (92 loc) · 4.27 KB
/
StreamDeckAzureDevOps.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
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</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>
<Compile Remove="images\category\**" />
<EmbeddedResource Remove="images\category\**" />
<None Remove="images\category\**" />
<Compile Remove="images\*.pdn" />
</ItemGroup>
<!--Dependencies-->
<ItemGroup>
<PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="16.191.0-preview" />
<PackageReference Include="Microsoft.TeamFoundationServer.ExtendedClient" Version="16.191.0-preview" />
<PackageReference Include="Microsoft.VisualStudio.Services.Client" Version="16.191.0-preview" />
<PackageReference Include="Microsoft.VisualStudio.Services.Release.Client" Version="16.191.0-preview" />
<PackageReference Include="StreamDeckLib" Version="0.*" />
<PackageReference Include="StreamDeckLib.Config" Version="0.*" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="7.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="System.Net.WebSockets" Version="4.3.0" />
</ItemGroup>
<!--Deployment files that must go with the build executable -->
<ItemGroup>
<Content Include="images\*.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<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 -->
<!-- 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.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="property_inspector\property_inspector.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<!-- Build Helper -->
<ItemGroup>
<Content Include="StreamDeckAzureDevOps.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>