[sln] Set DebugType to embedded in Release configuration

This commit is contained in:
Laura Hausmann 2024-04-17 00:38:15 +02:00
parent 7529ebea72
commit dca09cef56
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
5 changed files with 17 additions and 0 deletions

View file

@ -15,6 +15,7 @@
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<BlazorWebAssemblyOmitDebugProxyOutput>true</BlazorWebAssemblyOmitDebugProxyOutput> <BlazorWebAssemblyOmitDebugProxyOutput>true</BlazorWebAssemblyOmitDebugProxyOutput>
<PreserveCompilationContext>false</PreserveCompilationContext> <PreserveCompilationContext>false</PreserveCompilationContext>
<DebugType>embedded</DebugType>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View file

@ -9,6 +9,10 @@
<SatelliteResourceLanguages>none</SatelliteResourceLanguages> <SatelliteResourceLanguages>none</SatelliteResourceLanguages>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(EnableAOT)' == 'true'"> <PropertyGroup Condition="'$(EnableAOT)' == 'true'">
<RunAOTCompilation>true</RunAOTCompilation> <RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup> </PropertyGroup>

View file

@ -5,6 +5,10 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>
<SatelliteResourceLanguages>none</SatelliteResourceLanguages> <SatelliteResourceLanguages>none</SatelliteResourceLanguages>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="SearchQuery.fs"/> <Compile Include="SearchQuery.fs"/>

View file

@ -6,4 +6,8 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>embedded</DebugType>
</PropertyGroup>
</Project> </Project>

View file

@ -8,6 +8,10 @@
<IsTestProject>true</IsTestProject> <IsTestProject>true</IsTestProject>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Iceshrimp.Backend\Iceshrimp.Backend.csproj"/> <ProjectReference Include="..\Iceshrimp.Backend\Iceshrimp.Backend.csproj"/>
</ItemGroup> </ItemGroup>