Files
marechai/Marechai.Server/Marechai.Server.csproj

42 lines
2.3 KiB
XML
Raw Normal View History

2025-11-13 04:55:13 +00:00
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\Generated</CompilerGeneratedFilesOutputPath>
2025-11-17 03:27:16 +00:00
<UserSecretsId>f752169f-4aaa-411d-a6ba-684cc1ad5349</UserSecretsId>
<SelfContained>true</SelfContained>
<!-- RazorLight (used by Marechai.Email) needs the entry assembly's compilation context
at runtime to resolve metadata references when compiling email templates. Without
this, every email send fails with "Can't load metadata reference from the entry
assembly. Make sure PreserveCompilationContext is set to true in *.csproj file".
GenerateRuntimeConfigurationFiles + CopyRefAssembliesToPublishDirectory ensure the
ref assemblies actually ship with the published output; PublishTrimmed/PublishSingleFile
must stay off because RazorLight reflects over the loaded assemblies at runtime. -->
<PreserveCompilationContext>true</PreserveCompilationContext>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<CopyRefAssembliesToPublishDirectory>true</CopyRefAssembliesToPublishDirectory>
<PublishTrimmed>false</PublishTrimmed>
<PublishSingleFile>false</PublishSingleFile>
</PropertyGroup>
2025-11-13 04:55:13 +00:00
2025-11-13 05:16:58 +00:00
<ItemGroup>
2025-11-17 03:27:16 +00:00
<PackageReference Include="Aaru.CommonTypes" />
<PackageReference Include="Markdig" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" />
<PackageReference Include="Svg.Skia" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux" />
2025-11-17 03:27:16 +00:00
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" />
<PackageReference Include="MetadataExtractor" />
2025-11-17 03:27:16 +00:00
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" />
2025-11-13 05:16:58 +00:00
</ItemGroup>
<ItemGroup>
2025-11-17 03:27:16 +00:00
<ProjectReference Include="..\Marechai.Database\Marechai.Database.csproj" />
<ProjectReference Include="..\Marechai.Data\Marechai.Data.csproj" />
<ProjectReference Include="..\Marechai.Email\Marechai.Email.csproj" />
<ProjectReference Include="..\Marechai.Translation\Marechai.Translation.csproj" />
2025-11-13 05:16:58 +00:00
</ItemGroup>
2025-11-13 04:55:13 +00:00
</Project>