<Project Sdk="Microsoft.NET.Sdk.Razor">

	<PropertyGroup>
		<TargetFramework>net6.0</TargetFramework>
		<Nullable>enable</Nullable>
		<ImplicitUsings>enable</ImplicitUsings>
	</PropertyGroup>

	<ItemGroup>
		<Content Include="Index.png">
			<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
			<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</Content>
	</ItemGroup>


	<ItemGroup>
		<SupportedPlatform Include="browser" />
	</ItemGroup>

	<ItemGroup>
		<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="6.0.7" />
		<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.7" />
	</ItemGroup>

	<ItemGroup>
		<ProjectReference Include="..\..\HackSystem.Common\HackSystem.Common.csproj" />
		<ProjectReference Include="..\..\HackSystem.DataTransferObjects\HackSystem.DataTransferObjects.csproj" />
		<ProjectReference Include="..\..\HackSystem.Web.Authentication\HackSystem.Web.Authentication.csproj" />
		<ProjectReference Include="..\..\HackSystem.Web.ProgramPlatform.Abstractions\HackSystem.Web.ProgramPlatform.Abstractions.csproj" />
		<ProjectReference Include="..\..\HackSystem.Web.ProgramPlatform\HackSystem.Web.ProgramPlatform.csproj" />
	</ItemGroup>

	<ItemGroup>
		<Using Include="System.Linq" />
		<Using Include="Microsoft.Extensions.Configuration" />
		<Using Include="Microsoft.Extensions.DependencyInjection" />
		<Using Include="Microsoft.Extensions.Logging" />
		<Using Include="Microsoft.Extensions.Options" />
	</ItemGroup>

	<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(OS)' == 'Windows_NT'">
	  <Exec Command="set assetFolder=$(SolutionDir)HackSystem.WebAPI\$(OutDir)ProgramAssets\&#xD;&#xA;MKDIR assetFolder&#xD;&#xA;set assetFolder=%25assetFolder%25program0-icon-0828-hack-system000007\&#xD;&#xA;MKDIR assetFolder&#xD;&#xA;XCOPY $(TargetDir)* %25assetFolder%25 /Y /S /H" />
	</Target>

</Project>
