Zielframework aller Projekte auf net10.0 (WinFormsHost: net10.0-windows), zentral in Directory.Build.props statt je csproj. SatelliteResourceLanguages ebenfalls zentralisiert. Neue Directory.Packages.props mit ManagePackageVersionsCentrally: 21 Pakete, Versionsangaben aus allen csproj entfernt. EF Core bleibt bewusst auf 9.0.18 mit Pomelo 9.0.0. Pomelo hat keine EF-Core-10-Version; 9.0.0 pinnt EntityFrameworkCore.Relational auf [9.0.0, 9.0.999]. Die EF-9-Pakete zielen auf net8.0 und laufen auf der net10.0-Runtime. Begruendung als Kommentar in Directory.Packages.props. Uebrige Pakete auf aktuellen Stand: Swashbuckle 10.2.3 (ohne Bruchstellen), Serilog 4.4.0, Microsoft.Extensions 10.0.10, Test-SDK 18.8.1, coverlet 10.0.1. Sicherheits-Pin: SQLitePCLRaw 2.1.12 statt transitiv 2.1.10 (GHSA-2m69-gcr7-jv3q, High). Dazu CentralPackageTransitivePinningEnabled. Build: 0 Fehler, 8 Warnungen (alle vorbestehend). Tests: 100 bestanden, 0 Fehler, 1 uebersprungen, Testhost net10.0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
46 lines
2.3 KiB
XML
46 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<!-- Ueberschreibt Directory.Build.props: WinForms braucht das Windows-Desktop-Pack.
|
|
Entfaellt, sobald die Avalonia-Shell den WinForms-Host abloest. -->
|
|
<TargetFramework>net10.0-windows</TargetFramework>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<RootNamespace>Predictalytics.WinFormsHost</RootNamespace>
|
|
<ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode>
|
|
<ApplicationVisualStyles>true</ApplicationVisualStyles>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Serilog" />
|
|
<PackageReference Include="Serilog.AspNetCore" />
|
|
<PackageReference Include="Serilog.Extensions.Logging" />
|
|
<PackageReference Include="Serilog.Sinks.File" />
|
|
<PackageReference Include="Serilog.Sinks.Console" />
|
|
<PackageReference Include="Serilog.Formatting.Compact" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Predictalytics.Api\Predictalytics.Api.csproj" />
|
|
<ProjectReference Include="..\Predictalytics.Worker\Predictalytics.Worker.csproj" />
|
|
<ProjectReference Include="..\Predictalytics.Infrastructure\Predictalytics.Infrastructure.csproj" />
|
|
<!-- Externes Schwester-Repo: J:\Softwareprojekte\LicenseLabrador muss neben dem Predictalytics-Checkout liegen. -->
|
|
<ProjectReference Include="..\..\..\..\LicenseLabrador\client-dotnet\LicenseLabrador.Client\LicenseLabrador.Client.csproj" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="CleanupLocalization" AfterTargets="Build">
|
|
<ItemGroup>
|
|
<LanguageFolders Include="$(TargetDir)cs;$(TargetDir)de;$(TargetDir)es;$(TargetDir)fr;$(TargetDir)it;$(TargetDir)ja;$(TargetDir)ko;$(TargetDir)pl;$(TargetDir)pt-BR;$(TargetDir)ru;$(TargetDir)tr;$(TargetDir)zh-Hans;$(TargetDir)zh-Hant" />
|
|
</ItemGroup>
|
|
<RemoveDir Directories="@(LanguageFolders)" />
|
|
</Target>
|
|
</Project>
|