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

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

		<RunAOTCompilation>true</RunAOTCompilation>
		<WasmStripILAfterAOT>true</WasmStripILAfterAOT>
	</PropertyGroup>

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

	<ItemGroup>
		<PackageReference Include="DevExpress.Blazor" Version="25.1.3" />
		<PackageReference Include="MessagePack" Version="3.1.4" />
		<PackageReference Include="MessagePack.Annotations" Version="3.1.4" />
		<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="10.0.0" />
		<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.11" />
		<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
	</ItemGroup>

	<ItemGroup>
		<ProjectReference Include="..\..\..\..\Aycode\Source\AyCode.Blazor\AyCode.Blazor.Components\AyCode.Blazor.Components.csproj" />
		<ProjectReference Include="..\FruitBank.Common\FruitBank.Common.csproj" />
	</ItemGroup>

	<ItemGroup>
		<Reference Include="AyCode.Core">
			<HintPath>..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\$(Configuration)\net9.0\AyCode.Core.dll</HintPath>
		</Reference>
		<Reference Include="AyCode.Entities">
			<HintPath>..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\$(Configuration)\net9.0\AyCode.Entities.dll</HintPath>
		</Reference>
		<Reference Include="AyCode.Interfaces">
			<HintPath>..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\$(Configuration)\net9.0\AyCode.Interfaces.dll</HintPath>
		</Reference>
		<Reference Include="AyCode.Models">
			<HintPath>..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\$(Configuration)\net9.0\AyCode.Models.dll</HintPath>
		</Reference>
		<Reference Include="AyCode.Services">
			<HintPath>..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\$(Configuration)\net9.0\AyCode.Services.dll</HintPath>
		</Reference>
		<Reference Include="AyCode.Services.Server">
			<HintPath>..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\$(Configuration)\net9.0\AyCode.Services.Server.dll</HintPath>
		</Reference>
		<Reference Include="AyCode.Utils">
			<HintPath>..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\$(Configuration)\net9.0\AyCode.Utils.dll</HintPath>
		</Reference>
		<Reference Include="DevExpress.Blazor.Resources.v25.1">

		</Reference>
		<Reference Include="DevExpress.Blazor.v25.1">

		</Reference>
		<Reference Include="DevExpress.Blazor.v25.1.Viewer">

		</Reference>
		<Reference Include="DevExpress.Data.v25.1">

		</Reference>
		<Reference Include="DevExpress.Utils.v25.1">

		</Reference>
		<Reference Include="Mango.Nop.Core">
			<HintPath>..\..\NopCommerce.Common\4.70\Libraries\Mango.Nop.Core\bin\FruitBank\$(Configuration)\net9.0\Mango.Nop.Core.dll</HintPath>
		</Reference>
	</ItemGroup>

	<ItemGroup>
	  <Folder Include="Components\Toolbars\" />
	</ItemGroup>
	<ItemGroup>
		<None Include="**\README.md" Exclude="$(DefaultItemExcludes)" />
	</ItemGroup>

	<ItemGroup>
		<!-- appsettings.json is the canonical config source for Web / Web.Client / MAUI hosts.
		     They each pull it directly from disk (Web/Web.Client via <Target Copy>, MAUI via <EmbeddedResource>).
		     Suppress the Razor SDK's auto-publish content behavior so the file does NOT flow into
		     dependent projects' publish output — that would collide with each host's own copy
		     (NETSDK1152 "multiple publish output files with the same relative path"). -->
		<Content Update="appsettings.json">
			<CopyToOutputDirectory>Never</CopyToOutputDirectory>
			<CopyToPublishDirectory>Never</CopyToPublishDirectory>
			<Pack>false</Pack>
		</Content>
	</ItemGroup>

</Project>