-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathUno.Playground.WASM.csproj
127 lines (103 loc) · 5.29 KB
/
Uno.Playground.WASM.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<Project Sdk="Microsoft.NET.Sdk.WebAssembly">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<AssemblyName>Uno.Playground.WASM</AssemblyName>
<RootNamespace>Uno.Playground.WASM</RootNamespace>
<WasmHead>true</WasmHead>
<DefineConstants>__WASM__</DefineConstants>
<NoWarn>NU1701;Uno0001</NoWarn>
<!--<UseAOT Condition="$([MSBuild]::IsOsPlatform('Linux')) or ( $([MSBuild]::IsOsPlatform('Windows')) and '$(BUILD_REPOSITORY_PROVIDER)'=='' )">true</UseAOT>-->
<WasmShellMonoRuntimeExecutionMode Condition="'$(UseAOT)'=='true'">InterpreterAndAOT</WasmShellMonoRuntimeExecutionMode>
<WasmShellEnableJiterpreter>true</WasmShellEnableJiterpreter>
<WasmShellEnableEmccProfiling>true</WasmShellEnableEmccProfiling>
<!--<WasmShellDisableSDKCheckSumValidation>true</WasmShellDisableSDKCheckSumValidation>-->
<!--<WasmShellILLinkerEnabled>false</WasmShellILLinkerEnabled>-->
<!--<WasmShellGenerateAOTProfile>true</WasmShellGenerateAOTProfile>-->
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<WasmShellObfuscateAssemblies>true</WasmShellObfuscateAssemblies>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)'!='net46'">
<None Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
<!-- remove files included by msbuild extras -->
<Page Remove="@(Page)" />
<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
</ItemGroup>
<ItemGroup>
<UpToDateCheckInput Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
</ItemGroup>
<!--<ItemGroup>
<WasmShellAdditionalPInvokeLibrary Include="libc" />
</ItemGroup>-->
<!--
<ItemGroup Condition="'$(UseAOT)'=='true'">
<WasmShellExtraEmccFlags Include="-fsanitize=address" />
<WasmShellExtraEmccFlags Include="-s TOTAL_MEMORY=393216000" />
</ItemGroup>
-->
<ItemGroup>
<Content Include="..\Uno.Playground.UWP\Assets\*.png" Link="Assets\%(FileName)%(Extension)" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="WasmCSS\**\*.css" />
<EmbeddedResource Include="WasmScripts\**\*.js" />
<UpToDateCheckInput Include="ts\**\*" />
<UpToDateCheckInput Include="WasmCSS\**\*" />
<UpToDateCheckInput Include="WasmScripts\**\*" />
<Content Include="Fonts\*.woff2" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\*.*" />
</ItemGroup>
<!--
<ItemGroup>
<WasmShellMonoEnvironment Include="MONO_GC_PARAMS" Value="soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep" />
<WasmShellMonoEnvironment Include="MONO_LOG_LEVEL" Value="debug" />
<WasmShellMonoEnvironment Include="MONO_LOG_MASK" Value="all" />
</ItemGroup>
-->
<ItemGroup>
<LinkerDescriptor Include="LinkerConfig.xml" />
</ItemGroup>
<PropertyGroup>
<WasmShellAOTProfileExcludedMethods>ExecuteCallbackHandlers</WasmShellAOTProfileExcludedMethods>
</PropertyGroup>
<ItemGroup Condition="'$(UseAOT)'=='true'">
<WasmShellEnableAotProfile Include="aot-full-netstandard2.0.profile" Condition="'$(TargetFramework)'=='netstandard2.0'" />
<WasmShellEnableAotProfile Include="aot-full-net5.0.profile" Condition="'$(TargetFramework)'=='net5.0'" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="4.5.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Windows.Compatibility" Version="7.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Uno.Extensions.Logging.WebAssembly.Console" Version="1.8.0-dev.1" />
<PackageReference Include="Uno.Monaco.Editor" Version="2.0.0-dev.60" />
<PackageReference Include="Uno.CommunityToolkit.WinUI.DeveloperTools" Version="7.1.200" />
<PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls" Version="7.1.200" />
<PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.1.200" />
<PackageReference Include="Uno.Toolkit.WinUI" Version="6.4.1" />
<PackageReference Include="Uno.Toolkit.WinUI.Material" Version="6.4.1" />
<PackageReference Include="Uno.WinUI.WebAssembly" Version="5.6.30" />
<PackageReference Include="Uno.WinUI.Lottie" Version="5.6.30" />
<PackageReference Include="Uno.Core.Extensions" Version="4.1.1" />
<PackageReference Include="Uno.Core.Extensions.Compatibility" Version="4.1.1" />
<PackageReference Include="Uno.Core" Version="4.1.1" />
<PackageReference Include="Uno.WinUI.RemoteControl" Version="5.6.30" Condition="'$(Configuration)'=='Debug'" />
<PackageReference Include="Uno.WinUI.MediaPlayer.WebAssembly" Version="5.6.30" />
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="5.6.30" />
<PackageReference Include="Uno.Wasm.Bootstrap" Version="9.0.10" />
<PackageReference Include="Uno.Wasm.Bootstrap.DevServer" Version="9.0.10" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.2" />
<PackageReference Include="Uno.Fonts.OpenSans" Version="2.6.1" />
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<Import Project="..\Uno.Playground.Shared\Uno.Playground.Shared.projitems" Label="Shared" />
<Import Project="..\Package.targets" />
</Project>