Skip to content

Commit 6585fc1

Browse files
Copilotrolfbjarne
andcommitted
Fix crossgen2 instruction set argument format (use space instead of colon)
Co-authored-by: rolfbjarne <249268+rolfbjarne@users.noreply.github.com>
1 parent f307019 commit 6585fc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/targets/Microsoft.Sdk.R2R.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
<PropertyGroup Condition="'$(_ComputedInstructionSet)' != ''">
2323
<!-- Append the instruction set to the existing PublishReadyToRunCrossgen2ExtraArgs -->
24-
<PublishReadyToRunCrossgen2ExtraArgs Condition="'$(PublishReadyToRunCrossgen2ExtraArgs)' == ''">--instruction-set:$(_ComputedInstructionSet)</PublishReadyToRunCrossgen2ExtraArgs>
25-
<PublishReadyToRunCrossgen2ExtraArgs Condition="'$(PublishReadyToRunCrossgen2ExtraArgs)' != ''">$(PublishReadyToRunCrossgen2ExtraArgs) --instruction-set:$(_ComputedInstructionSet)</PublishReadyToRunCrossgen2ExtraArgs>
24+
<PublishReadyToRunCrossgen2ExtraArgs Condition="'$(PublishReadyToRunCrossgen2ExtraArgs)' == ''">--instruction-set $(_ComputedInstructionSet)</PublishReadyToRunCrossgen2ExtraArgs>
25+
<PublishReadyToRunCrossgen2ExtraArgs Condition="'$(PublishReadyToRunCrossgen2ExtraArgs)' != ''">$(PublishReadyToRunCrossgen2ExtraArgs) --instruction-set $(_ComputedInstructionSet)</PublishReadyToRunCrossgen2ExtraArgs>
2626
</PropertyGroup>
2727
</Target>
2828

0 commit comments

Comments
 (0)