Skip to content

Commit 849a916

Browse files
committed
chore: Resolve build issues with CounterStrikeSharp.sln
1 parent 222f73d commit 849a916

23 files changed

Lines changed: 1077 additions & 1034 deletions

File tree

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>net10.0</TargetFramework>
4-
<ImplicitUsings>enable</ImplicitUsings>
5-
<Nullable>enable</Nullable>
6-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7-
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
8-
</PropertyGroup>
9-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<ImplicitUsings>enable</ImplicitUsings>
5+
<Nullable>enable</Nullable>
6+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7+
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
12+
</Project>
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>net10.0</TargetFramework>
4-
<ImplicitUsings>enable</ImplicitUsings>
5-
<Nullable>enable</Nullable>
6-
</PropertyGroup>
7-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<ImplicitUsings>enable</ImplicitUsings>
5+
<Nullable>enable</Nullable>
6+
</PropertyGroup>
7+
</Project>
Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>net10.0</TargetFramework>
4-
<OutputType>Library</OutputType>
5-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
6-
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
7-
<RootNamespace>WarcraftPlugin</RootNamespace>
8-
</PropertyGroup>
9-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
10-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11-
</PropertyGroup>
12-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
13-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
14-
</PropertyGroup>
15-
<ItemGroup>
16-
<PackageReference Include="Dapper" Version="2.0.78" />
17-
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
18-
<PackageReference Include="Microsoft.Data.Sqlite" Version="5.0.2" />
19-
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
20-
</ItemGroup>
21-
<ItemGroup>
22-
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
23-
</ItemGroup>
24-
25-
</Project>
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<OutputType>Library</OutputType>
5+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
6+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
7+
<RootNamespace>WarcraftPlugin</RootNamespace>
8+
</PropertyGroup>
9+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
10+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11+
</PropertyGroup>
12+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
13+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
14+
</PropertyGroup>
15+
<ItemGroup>
16+
<PackageReference Include="Dapper" Version="2.0.78" />
17+
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
18+
<PackageReference Include="Microsoft.Data.Sqlite" Version="5.0.2" />
19+
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
20+
</ItemGroup>
21+
<ItemGroup>
22+
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
23+
</ItemGroup>
24+
<ItemGroup>
25+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
26+
</ItemGroup>
27+
</Project>
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<ImplicitUsings>enable</ImplicitUsings>
5+
<Nullable>enable</Nullable>
6+
</PropertyGroup>
27

3-
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
8-
8+
<ItemGroup>
9+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
10+
</ItemGroup>
911
</Project>
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>net10.0</TargetFramework>
4-
<ImplicitUsings>enable</ImplicitUsings>
5-
<Nullable>enable</Nullable>
6-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7-
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
8-
</PropertyGroup>
9-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<ImplicitUsings>enable</ImplicitUsings>
5+
<Nullable>enable</Nullable>
6+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7+
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
12+
</Project>

examples/WithConfig/WithConfig.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
88
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>
Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>net10.0</TargetFramework>
4-
<ImplicitUsings>enable</ImplicitUsings>
5-
<Nullable>enable</Nullable>
6-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7-
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
8-
</PropertyGroup>
9-
<ItemGroup>
10-
<PackageReference Include="Dapper" Version="2.1.24" />
11-
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.14" />
12-
</ItemGroup>
13-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<ImplicitUsings>enable</ImplicitUsings>
5+
<Nullable>enable</Nullable>
6+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<PackageReference Include="Dapper" Version="2.1.24" />
11+
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.14" />
12+
</ItemGroup>
13+
<ItemGroup>
14+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
15+
</ItemGroup>
16+
</Project>
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>net10.0</TargetFramework>
4-
<ImplicitUsings>enable</ImplicitUsings>
5-
<Nullable>enable</Nullable>
6-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7-
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
8-
</PropertyGroup>
9-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<ImplicitUsings>enable</ImplicitUsings>
5+
<Nullable>enable</Nullable>
6+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7+
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
12+
</Project>

examples/WithEntityOutputHooks/WithEntityOutputHooks.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
88
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
912
</Project>
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>net10.0</TargetFramework>
4-
<ImplicitUsings>enable</ImplicitUsings>
5-
<Nullable>enable</Nullable>
6-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7-
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
8-
</PropertyGroup>
9-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net10.0</TargetFramework>
4+
<ImplicitUsings>enable</ImplicitUsings>
5+
<Nullable>enable</Nullable>
6+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
7+
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<ProjectReference Include="..\..\managed\CounterStrikeSharp.API\CounterStrikeSharp.API.csproj" />
11+
</ItemGroup>
12+
</Project>

0 commit comments

Comments
 (0)