-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStrikeLink.csproj
More file actions
181 lines (151 loc) · 7.81 KB
/
StrikeLink.csproj
File metadata and controls
181 lines (151 loc) · 7.81 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net10.0;net8.0-windows;net9.0-windows;net10.0-windows</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>StrikeLink</Title>
<RepositoryUrl>https://github.com/RiisDev/StrikeLink</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>cs2;counter-strike;counter-strike-2;valve;steam;steam-client;game-integration;game-state;chat;console;event-driven;modding;tooling;dotnet;net8;net9;net10;cross-platform;vcfg;vdf;acf;cfg</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<IncludeSymbols>False</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AnalysisLevel>preview-all</AnalysisLevel>
<LangVersion>preview</LangVersion>
<Platforms>AnyCPU</Platforms>
<Configurations>Debug;Release;Windows</Configurations>
</PropertyGroup>
<!--Removes tests files on compile from library.-->
<ItemGroup>
<Compile Remove="StrikeLink.Tests\**;StrikeLink.Test.Suite\**;CON_EXAMPLES;docs\**" />
<None Remove="StrikeLink.Tests\**;StrikeLink.Test.Suite\**;CON_EXAMPLES;docs\**" />
<Content Remove="StrikeLink.Tests\**;StrikeLink.Test.Suite\**;CON_EXAMPLES;docs\**" />
<EmbeddedResource Remove="StrikeLink.Tests\**;StrikeLink.Test.Suite\**;CON_EXAMPLES;docs\**" />
</ItemGroup>
<!--Misc removaland includes-->
<ItemGroup>
<None Include="CON_EXAMPLES\**" />
<None Remove="CON_EXAMPLES\**" />
<None Include="docs\**" />
<None Remove="docs\**" />
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Remove=".gitattributes" />
<None Remove=".gitignore" />
<None Remove="DemoParser\EmbeddedResources\steam_api64.dll" />
<EditorConfigFiles Remove=".editorconfig" />
</ItemGroup>
<ItemGroup>
<None Include="icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<!--This removes the full src directory on errors.-->
<PropertyGroup>
<DeterministicSourcePaths>true</DeterministicSourcePaths>
<PathMap>$(MSBuildThisFileDirectory)=./</PathMap>
<EnforceCodeStyleInBuild>False</EnforceCodeStyleInBuild>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<Authors>IrisDev</Authors>
<PackageReleaseNotes>## New Fatures
* Static TokenService class which can be used to retreive Auth Code, Match Code, Dev API Key
* Cs2DemoParser built in demo parser (still early testing, report issues) that pull most content from a demo recording
* DemoNetwork class to Decode/Encode match share codes, as well as retrieving latest match code from API
* Cs2DemoDownloader class to download demos based on share codes (uses boiler-writer)
## Fixes
* Fixed LoginSecureService returning invalid tokens
* Fixed LoginSecureService not deleting files after creating the,
* Fixed some disposable items not being declared properly
* Fixed GsiManager not grabbing old port information
* Fixed GSI MapState Enum from erroring when a team surrenders
* Fixed GSI PlayerState Weapon Enum from erroring when using an SMG
* Fixed CoPlayService param documentation
## Changes
* ServerListener has been renamed to GsiListener to improve readability
* Win32 -> NativeMethods
* PDB is now embedded to improve debugging / error reporting
* Made a global shared HttpClient to lessen socket exhaustion
</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/RiisDev/StrikeLink</PackageProjectUrl>
<Copyright>IrisDev</Copyright>
<Description>StrikeLInk is a modern .NET library for Counter-Strike 2 and Valve ecosystem integration.
It provides event-driven access to in-game chat, game state updates, Steam client services, CS2 console interaction, and Valve configuration formats using modern C# and .NET.</Description>
<PackageIcon>icon.png</PackageIcon>
<Version>1.2.0</Version>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)'=='Release' And '$(TargetFramework)'=='net8.0'">
<Exec WorkingDirectory="$(ProjectDir)bin\Release\net8.0" Command="where xmldoc2md" IgnoreExitCode="true">
<Output TaskParameter="ExitCode" PropertyName="Xmldoc2mdExists" />
</Exec>
<Exec WorkingDirectory="$(ProjectDir)bin\Release\net8.0" Command="xmldoc2md StrikeLink.dll -o "../../../docs" --structure tree" Condition="'$(Xmldoc2mdExists)' == '0'" />
</Target>
<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))">
<DefineConstants>$(DefineConstants);WINDOWS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net10.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net10.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Windows|net8.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Windows|net9.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Windows|net10.0|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Windows|net8.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Windows|net9.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Windows|net10.0-windows|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<PackageReference Include="System.Management" Version="10.0.5" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="10.0.5" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="DemoParser\EmbeddedResources\boiler.exe" />
<EmbeddedResource Include="DemoParser\EmbeddedResources\steam_api64.dll" />
</ItemGroup>
</Project>