-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStreamerBot.csproj
More file actions
82 lines (74 loc) · 3.38 KB
/
StreamerBot.csproj
File metadata and controls
82 lines (74 loc) · 3.38 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net481</TargetFramework>
<Version>1.5.11</Version>
<!-- Enforce C# 13.0 compatibility (Streamer.bot runtime constraint: .NET 4.8.1) -->
<LangVersion>13.0</LangVersion>
<!-- Enable nullable reference types (supported in C# 8.0+) -->
<Nullable>enable</Nullable>
<!-- Disable implicit usings (generates global using directives - C# 10.0+) -->
<ImplicitUsings>disable</ImplicitUsings>
<NoWarn>CS0114</NoWarn>
<!--
Set the following directory with your Streamer.bot install location.
For local development, copy 'StreamerBot.csproj.user.template' to 'StreamerBot.csproj.user'
(ignored by git) and set your custom path there.
-->
<StreamerBotPath Condition="'$(StreamerBotPath)' == ''">C:\Streamer.bot</StreamerBotPath>
<DefaultItemExcludes>$(DefaultItemExcludes);_tests\bin\**;_tests\obj\**</DefaultItemExcludes>
<OutputType>Exe</OutputType>
<AssemblyName>TestRunner</AssemblyName>
<StartupObject>StreamerBot.Tests.TestRunner</StartupObject>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DefineConstants>EXTERNAL_EDITOR;GIVEAWAY_TESTS</DefineConstants>
</PropertyGroup>
<ItemGroup>
<!-- NOTE: <Using> elements generate global using directives (C# 10.0+) -->
<!-- Commented out for C# 7.3 compatibility - add using statements manually in each file -->
<!-- <Using Include="Streamer.bot.Plugin.Interface" /> -->
<!-- <Using Include="Streamer.bot.Plugin.Interface.Model" /> -->
<!-- <Using Include="Streamer.bot.Plugin.Interface.Enums" /> -->
<!-- <Using Include="Streamer.bot.Common.Events" /> -->
<!-- Use backslashes for Windows compatibility -->
<Reference Include="$(StreamerBotPath)\Streamer.bot.Plugin.Interface.dll">
<Private>true</Private>
</Reference>
<Reference Include="$(StreamerBotPath)\Streamer.bot.Common.dll">
<Private>true</Private>
</Reference>
<Reference Include="$(StreamerBotPath)\Twitch.Common.dll">
<Private>true</Private>
</Reference>
<Reference Include="$(StreamerBotPath)\NAudio*.dll">
<Private>true</Private>
</Reference>
<Reference Include="$(StreamerBotPath)\Wpf*.dll">
<Private>true</Private>
</Reference>
<!-- Newtonsoft.Json: Use NuGet package for CI builds, local reference for Streamer.bot development -->
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" Condition="!Exists('$(StreamerBotPath)\Newtonsoft.Json.dll')" />
<Reference Include="$(StreamerBotPath)\Newtonsoft.Json.dll" Condition="Exists('$(StreamerBotPath)\Newtonsoft.Json.dll')">
<Private>true</Private>
</Reference>
<Reference Include="$(StreamerBotPath)\System.*.dll">
<Private>true</Private>
</Reference>
<Reference Include="System.Web">
<Private>true</Private>
</Reference>
<Reference Include="System.Net.Http">
<Private>true</Private>
</Reference>
<Reference Include="System.IO.Compression">
<Private>true</Private>
</Reference>
<Reference Include="System.IO.Compression.FileSystem">
<Private>true</Private>
</Reference>
<Reference Include="Microsoft.CSharp">
<Private>true</Private>
</Reference>
<!-- Uncomment the following line to reference all dlls in the streamerbot directory -->
<!-- <Reference Include="$(StreamerBotPath)/**/*.dll" /> -->
</ItemGroup>
</Project>