-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkyboxChanger.csproj
36 lines (31 loc) · 1.48 KB
/
SkyboxChanger.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>SkyboxChanger</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<BaseOutputPath>build\addons\counterstrikesharp\</BaseOutputPath>
<OutputPath>$(BaseOutputPath)plugins\SkyboxChanger\</OutputPath>
<GameDataPath>$(BaseOutputPath)gamedata\</GameDataPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.291">
<IncludeAssets>compile</IncludeAssets>
</PackageReference>
<PackageReference Include="Dapper" Version="2.1.35" />
<PackageReference Include="MySQLConnector" Version="2.4.0" />
</ItemGroup>
<ItemGroup>
<LangFiles Include="lang/*.*" />
<GameDataFiles Include="gamedata/*.*" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="Build">
<Copy SourceFiles="@(LangFiles)" DestinationFolder="$(OutputPath)\lang" />
<Copy SourceFiles="@(GameDataFiles)" DestinationFolder="$(GameDataPath)" />
<Copy SourceFiles="$(NuGetPackageRoot)\dapper\2.1.35\lib\net7.0\Dapper.dll" DestinationFolder="$(OutputPath)" />
<Copy SourceFiles="$(NuGetPackageRoot)\mysqlconnector\2.4.0\lib\net8.0\MySqlConnector.dll" DestinationFolder="$(OutputPath)" />
</Target>
</Project>