initial commit
This commit is contained in:
30
Lab505.Client/Lab505.Client.csproj
Normal file
30
Lab505.Client/Lab505.Client.csproj
Normal file
@@ -0,0 +1,30 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<HotReloadEnabled>false</HotReloadEnabled>
|
||||
<!-- Thêm 2 dòng này -->
|
||||
<BlazorWebAssemblyEnableLinking>true</BlazorWebAssemblyEnableLinking>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Loại bỏ HotReload package khỏi publish -->
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.6" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.6" />
|
||||
<PackageReference Include="MudBlazor" Version="9.3.0" />
|
||||
<PackageReference Include="System.Security.Cryptography.Xml" Version="10.0.6" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Thêm block này để exclude HotReload -->
|
||||
<ItemGroup>
|
||||
<BlazorWebAssemblyLazyLoad Remove="Microsoft.DotNet.HotReload.WebAssembly.Browser.dll" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Lab505.Shared\Lab505.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user