summaryrefslogtreecommitdiff
path: root/Client.csproj
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-24 00:51:00 +1000
committerJake Mannens <jake@asger.xyz>2026-06-11 01:13:29 +1000
commit8ece5680f95487e60e11657c29a8ca2247072f84 (patch)
treebb1dd3c9134ba76816d376752ed7f1eacec38b21 /Client.csproj
parentb656bd974a83fdf73c1a10c9b74b266deeeb8f5a (diff)
Converted Client.csproj to WASM
Diffstat (limited to 'Client.csproj')
-rw-r--r--Client.csproj39
1 files changed, 10 insertions, 29 deletions
diff --git a/Client.csproj b/Client.csproj
index e1d8051..457f15c 100644
--- a/Client.csproj
+++ b/Client.csproj
@@ -1,57 +1,38 @@
-<Project Sdk="Microsoft.NET.Sdk.Web">
+<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
- <AssemblyName>HyperBooru</AssemblyName>
- <RootNamespace>HyperBooru</RootNamespace>
+ <AssemblyName>HyperBooru.Client</AssemblyName>
+ <RootNamespace>HyperBooru.Client</RootNamespace>
+ <NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
+ <StaticWebAssetProjectMode>Default</StaticWebAssetProjectMode>
+ <BlazorDisableThrowNavigationException>true</BlazorDisableThrowNavigationException>
<AssemblyVersion>0.17.0.0</AssemblyVersion>
<FileVersion>$(AssemblyVersion)</FileVersion>
<Version>0.17-alpha</Version>
- <UserSecretsId>2907567f-4640-4581-8f4d-0977952d26bd</UserSecretsId>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <NoWarn>1701;1702;8618</NoWarn>
+ <NoWarn>BL0007;1701;1702;8618</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
- <NoWarn>1701;1702;8618</NoWarn>
+ <NoWarn>BL0007;1701;1702;8618</NoWarn>
</PropertyGroup>
- <PropertyGroup>
- <DefaultItemExcludes>$(DefaultItemExcludes);Data/**</DefaultItemExcludes>
- </PropertyGroup>
-
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>None</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<ItemGroup>
- <Compile Remove="Data/**" />
- <Content Remove="Data/**" />
- <EmbeddedResource Remove="Data/**" />
- <None Remove="Data/**" />
- </ItemGroup>
-
- <ItemGroup>
- <PackageReference Include="Magick.NET-Q16-AnyCPU" Version="14.14.0" />
- <PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.8" />
- <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.8">
- <PrivateAssets>all</PrivateAssets>
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>
- <PackageReference Include="Mime-Detective" Version="25.8.1" />
- <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.2" />
- <PackageReference Include="Swashbuckle.AspNetCore" Version="10.2.1" />
- <PackageReference Include="System.Drawing.Common" Version="10.0.8" />
- <PackageReference Include="Tesseract" Version="5.2.0" />
+ <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.8" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\ApiModels\ApiModels.csproj" />
+ <ProjectReference Include="..\ApiClient\ApiClient.csproj" />
</ItemGroup>
</Project>