2260d8974d
include version set on manual parser selection update projects to .NET Core 2.2 add middleware to support ip whitelisting (EnableWebfrontConnectionWhitelist and WebfrontConnectionWhitelist) issue #59
42 lines
1.5 KiB
XML
42 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Library</OutputType>
|
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
|
<RuntimeFrameworkVersion>2.2.2</RuntimeFrameworkVersion>
|
|
<ApplicationIcon />
|
|
<StartupObject />
|
|
<PackageId>RaidMax.IW4MAdmin.Plugins.Stats</PackageId>
|
|
<Authors>RaidMax</Authors>
|
|
<Company>Forever None</Company>
|
|
<Product>Client Statistics</Product>
|
|
<Description>Client Statistics Plugin for IW4MAdmin</Description>
|
|
<Copyright>2018</Copyright>
|
|
<Configurations>Debug;Release;Prerelease</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="Web\Views\Stats\_MessageContext.cshtml">
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\SharedLibraryCore\SharedLibraryCore.csproj" />
|
|
<ProjectReference Include="..\..\WebfrontCore\WebfrontCore.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Update="Microsoft.NETCore.App" Version="2.2.2" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="copy "$(TargetPath)" "$(SolutionDir)BUILD\Plugins"" />
|
|
</Target>
|
|
|
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
|
<Exec Command="xcopy /E /K /Y /C /I "$(ProjectDir)Web\Views" "$(SolutionDir)WebfrontCore\Views\Plugins"
xcopy /E /K /Y /C /I "$(ProjectDir)Web\wwwroot\images" "$(SolutionDir)WebfrontCore\wwwroot\images"" />
|
|
</Target>
|
|
|
|
</Project>
|