出现错误:CodeMethodMember 不能同时设置 ImplementationTypes 和 PrivateImplementationType。运行 svcutil 时。
C:>svcutil /language:"Microsoft.FSharp.Compiler.CodeDom.FSharpCodeProvider, FSharp.Compiler.CodeDom, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a19089b1c74d0809" http://localhost/webservices/CoreService.svc? wsdl
Microsoft (R) 服务模型元数据工具 [Microsoft (R) Windows (R) Communication Foundation,版本 3.0.4506.2152] 版权所有 (c) Microsoft Corporation。版权所有。
尝试使用 WS-Metadata Exchange 或 DISCO 从“http://localhost/webservices/CoreService.svc?wsdl”下载元数据。正在生成文件... 错误:尝试以指定语言生成代码时出错。这可能是因为该语言不支持正在生成的所有代码元素。考虑使用另一种语言。
CodeMethodMember must not have both ImplementationTypes and PrivateImplementationType set.
已安装 F# 2.0,包括 PowerPack,GAC 包含必要的 DLL。
CodeMethodMember 由 generator.fs 生成(使用 Google 搜索 CodeMethodMember)。