<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Library</OutputType> <TargetFramework>netcoreapp2.1</TargetFramework> <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" /> </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>