F # WSDL Code Generation

I am using the integrated shell of VS.NET 2010 with F # and I am trying to use a soapy web service ... How do I generate a F # source? I tried

wsdl l: "C: \ Program Files (x86) \ FSharpPowerPack-2.0.0.0 \ bin \ FSharp.Compiler.CodeDom.dll" http: // localhost /? wsdl

As well as

wsdl / language: "Microsoft.FSharp.Compiler.CodeDom.FSharpCodeProvider, Microsoft.FSharp.Compiler.CodeDom, Version = 1.9.2.9, Culture = neutral, PublicKeyToken = a19089b1c74d0809"

However, it seems like I cannot get the / language switch to work.

EDIT:

Taspeotis answer got me going ... This generated the F # source for the web service:

gacutil -i "C:\Program Files (x86)\FSharpPowerPack-2.0.0.0\bin\FSharp.PowerPack.dll"
svcutil /language:"Microsoft.FSharp.Compiler.CodeDom.FSharpCodeProvider, FSharp.Compiler.CodeDom, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a19089b1c74d0809" http://localhost/?wsdl
+5
source share
3

FSharp.Compiler.CodeDom.dll GAC? gacutil.exe, .

gacutil.exe /l System.XML.Linq . FSharp.Compiler.CodeDom () FSharp.Data

jizugu: This generated F# source for the web service:

gacutil -i 
   "C:\Program Files (x86)\FSharpPowerPack-2.0.0.0\bin\FSharp.PowerPack.dll"

svcutil 
  /language:"Microsoft.FSharp.Compiler.CodeDom.FSharpCodeProvider  
        ,FSharp.Compiler.CodeDom, Version=2.0.0.0, Culture=neutral
        ,PublicKeyToken=a19089b1c74d0809" http://localhost/?wsdl
+2

, #, # DLL DLL F #. ( # csc.exe .NET.)

+2

, F # Code DOM WSDL. , Microsoft, ASP.NET, , , , WSDL XSD.

ASP.NET , "" ASP.NET. , CodeDOM, ASP.NET, (- ) , CodeDOM F #. , , ( CodePlex)

, , #, #, csc.exe, .

0

All Articles