Files
Elternbeirat/Elternbeirat.Web/Elternbeirat.Web.csproj
T

38 lines
1.5 KiB
XML

<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<BlazorDisableThrowNavigationException>true</BlazorDisableThrowNavigationException>
<!-- The pages format dates in German (de-DE). Without this the runtime
falls back to invariant-only globalization and any named culture
throws. Needs an ICU-carrying runtime image (see Dockerfile). -->
<InvariantGlobalization>false</InvariantGlobalization>
</PropertyGroup>
<!-- The test project uses WebApplicationFactory<Program>, which needs the
auto-generated Program class (internal with top-level statements). -->
<ItemGroup>
<InternalsVisibleTo Include="Elternbeirat.Web.Tests" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Markdig" />
<PackageReference Include="YamlDotNet" />
</ItemGroup>
<!-- The typed PocketBaseClient the app reads its content from. Referencing
PocketBase brings in Elternbeirat.Contracts (the DTOs) transitively. -->
<ItemGroup>
<ProjectReference Include="..\Elternbeirat.PocketBase\Elternbeirat.PocketBase.csproj" />
</ItemGroup>
<!-- Content ships as files inside the image, not in a volume. Copy it to
the output directory so the container can find it. -->
<ItemGroup>
<Content Include="Content\**\*" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>