47 lines
1.5 KiB
XML
47 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<RootNamespace>MP.RIOC</RootNamespace>
|
|
<Version>8.16.2605.1207</Version>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Remove="compilerconfig.json" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="NLog" />
|
|
<PackageReference Include="NLog.Web.AspNetCore" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" />
|
|
<PackageReference Include="Yarp.ReverseProxy" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\MP.Core\MP.Core.csproj" />
|
|
<ProjectReference Include="..\MP.Data\MP.Data.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="compilerconfig.json" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="logs\.placeholder.file">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="RedisScript\RedisUpdateScript_v5.lua">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="RedisScript\RedisUpdateScript_v6.lua">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="powershell.exe -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -File $(ProjectDir)\post-build.ps1 -ProjectDir $(ProjectDir) -ProjectPath $(ProjectPath)" />
|
|
</Target>
|
|
</Project>
|