Can';t在Windows上编译F#编译器

Can';t在Windows上编译F#编译器,f#,F#,我想在Windows上编译F# 我的Windows已安装.NET 4.7.2 如前所述,我运行build.cmd 出现错误: Can't find property "PositionalBinding" for class "System.Management.Automation.CmdletBindingAttribute" at C:\code\fsharpfromgithub\fsharp\eng\build.ps1:17 char 15 + [CmdletBinding <&

我想在Windows上编译F#

我的Windows已安装.NET 4.7.2

如前所述,我运行build.cmd

出现错误:

Can't find property "PositionalBinding" for class "System.Management.Automation.CmdletBindingAttribute" at 
C:\code\fsharpfromgithub\fsharp\eng\build.ps1:17 char 15
+ [CmdletBinding <<<< (PositionalBinding=$false)]
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
在中找不到类“System.Management.Automation.CmdletBindingAttribute”的属性“PositionBinding”
C:\code\fsharpfromgithub\fsharp\eng\build.ps1:17字符15

+[CmdletBinding我认为错误更多的是关于PowerShell,而不是.NET Framework或Core。请参阅

您可以尝试安装此:


或者在

更新您的Windows SDK,我认为错误更多的是关于PowerShell,而不是.NET Framework或Core。请参阅

您可以尝试安装此:


或者在

更新Windows SDK,您应该遵循devguide:您应该遵循devguide: