forked from bitfoundation/bitplatform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBit.BlazorUI.Demo.Client.Web.csproj
64 lines (54 loc) · 3.21 KB
/
Bit.BlazorUI.Demo.Client.Web.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<!--If you don't need to use the time zone and your app is in WASM format, you can reduce the output size of the app by disabling the time zone.-->
<BlazorEnableTimeZoneSupport>true</BlazorEnableTimeZoneSupport>
<BlazorWebAssemblyPreserveCollationData>false</BlazorWebAssemblyPreserveCollationData>
<!-- To change MultilingualEnabled's value, checkout Directory.Build.props -->
<HybridGlobalization>true</HybridGlobalization>
<WasmStripILAfterAOT>true</WasmStripILAfterAOT>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<BlazorCacheBootResources>false</BlazorCacheBootResources>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
<StaticWebAssetProjectMode>Default</StaticWebAssetProjectMode>
<WasmFingerprintAssets>false</WasmFingerprintAssets>
<StaticWebAssetsFingerprintContent>false</StaticWebAssetsFingerprintContent>
<StaticWebAssetFingerprintingEnabled>false</StaticWebAssetFingerprintingEnabled>
</PropertyGroup>
<ItemGroup>
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
</ItemGroup>
<ItemGroup>
<Watch Include="..\Bit.BlazorUI.Demo.Client.Core\**\*.razor" />
<Watch Include="..\Bit.BlazorUI.Demo.Client.Core\**\*.css" Exclude="node_modules\**\*;**\*.css.map;obj\**\*;bin\**\*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Bit.Bswup" Version="9.6.0-pre-06" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Bit.CodeAnalyzers" Version="9.6.0-pre-06">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Bit.SourceGenerators" Version="9.6.0-pre-06">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Bit.BlazorUI.Demo.Client.Core\Bit.BlazorUI.Demo.Client.Core.csproj" />
<Using Include="Microsoft.JSInterop" />
<Using Include="Bit.BlazorUI.Demo.Client.Core.Services.Contracts" />
<Using Include="Bit.BlazorUI.Demo.Client.Core.Services" />
</ItemGroup>
<ItemGroup>
<BlazorWebAssemblyLazyLoad Include="Newtonsoft.Json.wasm" />
<BlazorWebAssemblyLazyLoad Include="System.Private.Xml.wasm" />
<BlazorWebAssemblyLazyLoad Include="System.Data.Common.wasm" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<!-- https://emscripten.org/docs/tools_reference/emcc.html -->
<!-- https://github.com/dotnet/runtime/blob/main/src/mono/wasm/build/WasmApp.Common.targets -->
<EmccLinkOptimizationFlag>-O3</EmccLinkOptimizationFlag>
<EmccCompileOptimizationFlag>-O3</EmccCompileOptimizationFlag>
</PropertyGroup>
</Project>