mirror of
https://github.com/claunia/marechai.git
synced 2026-07-08 17:57:08 +00:00
42 lines
2.3 KiB
XML
42 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
|
|
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\Generated</CompilerGeneratedFilesOutputPath>
|
|
<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>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Aaru.CommonTypes" />
|
|
<PackageReference Include="Markdig" />
|
|
<PackageReference Include="Microsoft.AspNetCore.OpenApi" />
|
|
<PackageReference Include="Svg.Skia" />
|
|
<PackageReference Include="SkiaSharp.NativeAssets.Linux" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" />
|
|
<PackageReference Include="MetadataExtractor" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<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" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|