Skip to content

Commit 2e9e6da

Browse files
committed
remove unnecessary Update verb
1 parent f8897dd commit 2e9e6da

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/fsharp/FSharp.Build/Microsoft.FSharp.Targets

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -432,24 +432,21 @@ this file.
432432

433433
<ItemGroup>
434434
<!-- Update references to `.NETCore\*\FSharp.Core.dll`. -->
435-
<Reference Update="%(Reference.Identity)"
436-
Condition="'%(Reference.Identity)' == 'FSharp.Core' and
435+
<Reference Condition="'%(Reference.Identity)' == 'FSharp.Core' and
437436
'%(Reference.HintPath)' == '$(_OldCoreSdkPath)' and
438437
Exists('$(_NewCoreSdkPath)')">
439438
<HintPath>$(_NewCoreSdkPath)</HintPath>
440439
</Reference>
441440

442441
<!-- Update references to `.NETFramework\v4.0\*\FSharp.Core.dll`. -->
443-
<Reference Update="%(Reference.Identity)"
444-
Condition="'%(Reference.Identity)' == 'FSharp.Core' and
442+
<Reference Condition="'%(Reference.Identity)' == 'FSharp.Core' and
445443
'%(Reference.HintPath)' == '$(_OldFrameworkSdkPath)' and
446444
Exists('$(_NewFrameworkSdkPath)')">
447445
<HintPath>$(_NewFrameworkSdkPath)</HintPath>
448446
</Reference>
449447

450448
<!-- Update references to `.Portable\*\FSharp.Core.dll`. -->
451-
<Reference Update="%(Reference.Identity)"
452-
Condition="'%(Reference.Identity)' == 'FSharp.Core' and
449+
<Reference Condition="'%(Reference.Identity)' == 'FSharp.Core' and
453450
'%(Reference.HintPath)' == '$(_OldPortableSdkPath)' and
454451
Exists('$(_NewPortableSdkPath)')">
455452
<HintPath>$(_NewPortableSdkPath)</HintPath>

0 commit comments

Comments
 (0)