Skip to content

Commit 0f5a8e5

Browse files
authored
[WASI] Remove apphost to align with other mobile targets (#45219)
WASI doesn't use the normal apphost.
1 parent d7d440b commit 0f5a8e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Installer/redist-installer/targets/GenerateBundledVersions.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@
298298
@(Net70MonoRuntimePackRids);
299299
freebsd-x64;
300300
freebsd-arm64;
301+
wasi-wasm;
301302
" />
302303

303304
<Net80MonoRuntimePackRids Remove="win-arm" />

src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Copyright (c) .NET Foundation. All rights reserved.
175175
$([MSBuild]::VersionLessThan($(_TargetFrameworkVersionWithoutV), '8.0'))">true</SelfContained>
176176

177177
<SelfContained Condition="'$(SelfContained)' == ''">false</SelfContained>
178-
<_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser'))">false</_RuntimeIdentifierUsesAppHost>
178+
<_RuntimeIdentifierUsesAppHost Condition="$(RuntimeIdentifier.StartsWith('ios')) or $(RuntimeIdentifier.StartsWith('tvos')) or $(RuntimeIdentifier.StartsWith('maccatalyst')) or $(RuntimeIdentifier.StartsWith('android')) or $(RuntimeIdentifier.StartsWith('browser')) or $(RuntimeIdentifier.StartsWith('wasi'))">false</_RuntimeIdentifierUsesAppHost>
179179
<_RuntimeIdentifierUsesAppHost Condition="'$(_IsPublishing)' == 'true' and '$(PublishAot)' == 'true'">false</_RuntimeIdentifierUsesAppHost>
180180
<_RuntimeIdentifierUsesAppHost Condition="'$(_RuntimeIdentifierUsesAppHost)' == ''">true</_RuntimeIdentifierUsesAppHost>
181181
<UseAppHost Condition="'$(UseAppHost)' == '' and

0 commit comments

Comments
 (0)