Skip to content

Commit

Permalink
chore: Adjust AOT requirement, adjust langversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed May 22, 2022
1 parent 0f5aed8 commit afbb8fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
<DefineConstants>$(DefineConstants);__WASM__; WINUI; HAS_UNO</DefineConstants>
<LangVersion>latest</LangVersion>
<LangVersion>8.0</LangVersion>
<WasmShellILLinkerEnabled>true</WasmShellILLinkerEnabled>
<WasmShellForceDisableWSL Condition="'$(OS)' != 'Unix' and ('$(CI)' == 'true' or '$(BUILD_BUILDID)' != '')">true</WasmShellForceDisableWSL>
</PropertyGroup>
Expand All @@ -17,7 +17,8 @@
<WasmShellMonoRuntimeExecutionMode>Interpreter</WasmShellMonoRuntimeExecutionMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<WasmShellMonoRuntimeExecutionMode>FullAOT</WasmShellMonoRuntimeExecutionMode>
<!-- Use FullAOT for local builds only for faster CI builds -->
<WasmShellMonoRuntimeExecutionMode Condition="'$(BUILD_BUILDID)' == ''">FullAOT</WasmShellMonoRuntimeExecutionMode>
</PropertyGroup>
<ItemGroup>
<Content Include="Assets\SplashScreen.png" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
<WasmShellMonoRuntimeExecutionMode>Interpreter</WasmShellMonoRuntimeExecutionMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<WasmShellMonoRuntimeExecutionMode>FullAOT</WasmShellMonoRuntimeExecutionMode>
<!-- Use FullAOT for local builds only for faster CI builds -->
<WasmShellMonoRuntimeExecutionMode Condition="'$(BUILD_BUILDID)' == ''">FullAOT</WasmShellMonoRuntimeExecutionMode>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
<WasmShellMonoRuntimeExecutionMode>Interpreter</WasmShellMonoRuntimeExecutionMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<WasmShellMonoRuntimeExecutionMode>FullAOT</WasmShellMonoRuntimeExecutionMode>
<!-- Use FullAOT for local builds only for faster CI builds -->
<WasmShellMonoRuntimeExecutionMode Condition="'$(BUILD_BUILDID)' == ''">FullAOT</WasmShellMonoRuntimeExecutionMode>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" />
Expand Down

0 comments on commit afbb8fe

Please sign in to comment.