forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWasm.Browser.Bench.Sample.csproj
More file actions
29 lines (25 loc) · 1.31 KB
/
Wasm.Browser.Bench.Sample.csproj
File metadata and controls
29 lines (25 loc) · 1.31 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
<!-- don't need to run this on helix -->
<WasmCopyAppZipToHelixTestDir>false</WasmCopyAppZipToHelixTestDir>
<WasmMainJSPath>main.js</WasmMainJSPath>
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<EnableAggressiveTrimming Condition="'$(EnableAOTAndTrimming)' != ''">$(EnableAOTAndTrimming)</EnableAggressiveTrimming>
<PublishTrimmed Condition="'$(EnableAOTAndTrimming)' != ''">$(EnableAOTAndTrimming)</PublishTrimmed>
<RunAOTCompilation Condition="'$(EnableAOTAndTrimming)' != ''">$(EnableAOTAndTrimming)</RunAOTCompilation>
</PropertyGroup>
<ItemGroup>
<WasmExtraFilesToDeploy Include="index.html" />
<WasmExtraFilesToDeploy Include="appstart-frame.html" />
<WasmExtraFilesToDeploy Include="frame-main.js" />
<WasmExtraFilesToDeploy Include="style.css" />
<Compile Remove="Console/Console.cs" />
</ItemGroup>
<PropertyGroup>
<_SampleProject>Wasm.Browser.Bench.Sample.csproj</_SampleProject>
<_SampleAssembly> Wasm.Browser.Bench.Sample.dll</_SampleAssembly>
</PropertyGroup>
<Target Name="RunSample" DependsOnTargets="RunSampleWithBrowserAndSimpleServer" />
</Project>