<Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>net6.0</TargetFramework> <RazorCompileOnBuild Condition="'$(CONFIG)'!='Debug'">true</RazorCompileOnBuild> <RazorCompiledOnPublish Condition="'$(CONFIG)'!='Debug'">true</RazorCompiledOnPublish> <PreserveCompilationContext Condition="'$(CONFIG)'!='Debug'">false</PreserveCompilationContext> <CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies> <AddRazorSupportForMvc>true</AddRazorSupportForMvc> <Version>0.1.0.0</Version> <Configurations>Debug;Release;Prerelease</Configurations> <LangVersion>Latest</LangVersion> <ApplicationIcon /> <OutputType>Library</OutputType> <StartupObject /> </PropertyGroup> <ItemGroup> <PackageReference Include="RaidMax.IW4MAdmin.SharedLibraryCore" Version="2022.6.16.1" PrivateAssets="All" /> </ItemGroup> <Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Exec Command="dotnet publish $(ProjectPath) -c $(ConfigurationName) -o $(ProjectDir)..\..\Build\Plugins --no-build --no-restore --no-dependencies" /> </Target> </Project>