[backend] Fix build in release configuration

This commit is contained in:
Laura Hausmann 2024-04-09 23:46:54 +02:00
parent fae324c3f3
commit 45e8d7eb41
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -17,11 +17,6 @@
<PreserveCompilationContext>false</PreserveCompilationContext>
</PropertyGroup>
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.3" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Amazon.S3" Version="0.31.2" />
<PackageReference Include="AngleSharp" Version="1.1.2" />
@ -33,6 +28,7 @@
<PackageReference Include="EntityFrameworkCore.Projectables" Version="3.0.4" />
<PackageReference Include="FlexLabs.EntityFrameworkCore.Upsert" Version="8.0.0" />
<PackageReference Include="Isopoh.Cryptography.Argon2" Version="2.0.0" />
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
<PackageReference Include="libsodium" Version="1.0.18.4" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.3" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.EntityFrameworkCore" Version="8.0.3" />
@ -53,6 +49,10 @@
<PackageReference Include="WebPush" Version="1.0.24-iceshrimp" />
</ItemGroup>
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.3" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Pages\Error.cshtml" />
<AdditionalFiles Include="Pages\Shared\_Layout.cshtml" />