a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse
social-media
social
iceshrimp
fedi
1<Project>
2 <!-- Target framework & language version -->
3 <PropertyGroup>
4 <TargetFramework>net10.0</TargetFramework>
5 <LangVersion>latest</LangVersion>
6 </PropertyGroup>
7
8 <!-- Common build options -->
9 <PropertyGroup>
10 <Nullable>enable</Nullable>
11 <ImplicitUsings>enable</ImplicitUsings>
12 <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
13 <InvariantGlobalization>true</InvariantGlobalization>
14 <SatelliteResourceLanguages>none</SatelliteResourceLanguages>
15 </PropertyGroup>
16
17 <!-- Except low and medium severity vulnerable dependency warnings from TreatWarningsAsErrors, leaving high and critical severity ones intact -->
18 <PropertyGroup>
19 <WarningsNotAsErrors>$(WarningsNotAsErrors),NU1901,NU1902,CS1573,CS1591</WarningsNotAsErrors>
20 </PropertyGroup>
21
22 <PropertyGroup>
23 <NoWarn>$(NoWarn),CS1591</NoWarn>
24 </PropertyGroup>
25
26 <!-- When DependencyVulnsAsError is not set, also suppress the remaining dependency vulnerability warnings -->
27 <PropertyGroup Condition="'$(DependencyVulnsAsError)' != 'true'">
28 <WarningsNotAsErrors>$(WarningsNotAsErrors),NU1903,NU1904</WarningsNotAsErrors>
29 </PropertyGroup>
30
31 <!-- Version metadata -->
32 <PropertyGroup>
33 <VersionPrefix>2025.1</VersionPrefix>
34 <VersionSuffix>beta5.patch3.security4</VersionSuffix>
35 </PropertyGroup>
36
37 <ItemGroup>
38 <AssemblyMetadata Include="codename" Value="phenidate" />
39 <AssemblyMetadata Include="edition" Value="enterprise" />
40 </ItemGroup>
41
42 <!-- Embed debug info instead of generating PDBs in release configuration -->
43 <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
44 <DebugType>embedded</DebugType>
45 </PropertyGroup>
46
47 <!-- Don't copy blazor debug files to output directory in release configuration -->
48 <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
49 <BlazorWebAssemblyOmitDebugProxyOutput>true</BlazorWebAssemblyOmitDebugProxyOutput>
50 <PreserveCompilationContext>false</PreserveCompilationContext>
51 </PropertyGroup>
52
53 <!-- Enable Blazor AOT compilation when EnableAOT build flag is set -->
54 <PropertyGroup Condition="'$(EnableAOT)' == 'true'">
55 <RunAOTCompilation>true</RunAOTCompilation>
56 <EmccCompileOptimizationFlag>-O3</EmccCompileOptimizationFlag>
57 <EmccLinkOptimizationFlag>-O3</EmccLinkOptimizationFlag>
58 <WasmBitcodeCompileOptimizationFlag>-O3</WasmBitcodeCompileOptimizationFlag>
59 </PropertyGroup>
60</Project>