XSD.EXE to generate F# Classes off of XSD -
i trying use tool xsd.exe generate class files xsd. whether there gained resulting files question, see generated. found reference, notes:
which, luke on over f# visual studio team, means can this:
xsd.exe fpml-asset-4-z.xsd /classes /l:”microsoft.fsharp.compiler.codedom.fsharpcodeprovider, fsharp.compiler.codedom, version=1.9.9.9, culture=neutral, publickeytoken=a19089b1c74d0809″
which splendid. don't have same version of code dom - looking @ gac changed line to:
xsd.exe rixml-datatypes-2_3_1.xsd /classes /l:"microsoft.fsharp.compiler.codedom.fsharpcodeprovider, fsharp.compiler.codedom, version=2.0.0,0, culture=neutral, publickeytoken=a19089b1c74d0809"
which yields:
c:\users\desktop\csharpsamples\researchuploader\fc-rixmllib>xsd.exe rixml-datatypes-2_3_1.xsd /classes /l:"microsoft.fsharp.compiler.codedom.fsharpcodepr ovider, fsharp.compiler.codedom, version=2.0.0,0, culture=neutral, publickeytoken=a19089b1c74d0809" microsoft (r) xml schemas/datatypes support utility [microsoft (r) .net framework, version 4.0.30319.1] copyright (c) microsoft corporation. rights reserved. error: given assembly name or codebase invalid. (exception hresult: 0x80131047)
if more help, please type "xsd /?".
thoughts?
that looks correct me. can double check assembly installed in gac?
here command can enter "visual studio command prompt":
> gacutil -l | find "fsharp.compiler.codedom"
i got:
fsharp.compiler.codedom, version=2.0.0.0, culture=neutral, publickeytoken=a19089b1c74d0809, processorarchitecture=msil
Comments
Post a Comment