2023-01-28 20:51:29 +08:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<PropertyGroup>
|
2023-03-06 21:54:41 +08:00
|
|
|
|
<EnableDynamicLoading>true</EnableDynamicLoading>
|
2023-02-13 20:44:50 +08:00
|
|
|
|
<NoAotCompile>false</NoAotCompile>
|
2023-02-12 22:06:57 +08:00
|
|
|
|
<TargetFramework>net7.0</TargetFramework>
|
2023-01-28 20:51:29 +08:00
|
|
|
|
<OutputType>Library</OutputType>
|
|
|
|
|
<OutDir>..\..\bin\$(Configuration)\Client\Scripts</OutDir>
|
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
|
|
<AllowedReferenceRelatedFileExtensions>
|
2022-11-05 18:35:39 +08:00
|
|
|
|
.dll
|
|
|
|
|
.pdb
|
|
|
|
|
</AllowedReferenceRelatedFileExtensions>
|
2023-01-28 20:51:29 +08:00
|
|
|
|
<NoWarn>CS1591</NoWarn>
|
|
|
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
2023-02-16 18:56:56 +08:00
|
|
|
|
<GenerateDocumentationFile>False</GenerateDocumentationFile>
|
2023-01-28 20:51:29 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<TrimmerRootDescriptor Include="Trimming.xml" />
|
|
|
|
|
<Compile Remove="GUI\**" />
|
|
|
|
|
<EmbeddedResource Remove="GUI\**" />
|
|
|
|
|
<None Remove="GUI\**" />
|
|
|
|
|
</ItemGroup>
|
2023-02-12 22:06:57 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Remove="Scripting\ClientScript.cs" />
|
|
|
|
|
</ItemGroup>
|
2023-01-28 20:51:29 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Reference Include="LemonUI.SHVDNC">
|
|
|
|
|
<HintPath>..\..\libs\LemonUI.SHVDNC.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\..\Core\RageCoop.Core.csproj" />
|
2023-02-12 22:06:57 +08:00
|
|
|
|
<ProjectReference Include="..\Scripting\RageCoop.Client.Scripting.csproj" />
|
2023-01-28 20:51:29 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PackageReference Include="NAudio" Version="2.1.0" />
|
|
|
|
|
<PackageReference Include="SharpZipLib" Version="1.4.0" />
|
|
|
|
|
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.3.0" />
|
|
|
|
|
</ItemGroup>
|
2023-03-07 21:01:08 +08:00
|
|
|
|
|
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(SolutionDir)' != '*Undefined*' and '$(Configuration)' != 'API'">
|
|
|
|
|
<Exec Command="xcopy "$(SolutionDir)Client\Data" "$(OutDir)..\Data" /i /s /y" />
|
|
|
|
|
</Target>
|
2022-10-15 11:51:18 +08:00
|
|
|
|
</Project>
|