Domanda

Per l'elaborazione da XML a LINQ da XML TAST, devo scaricare Linq a XSD Alpha Installer o è disponibile nel VS 2008? (Sto usando VS 2008 Professional Edition).

Nessuna soluzione corretta

Altri suggerimenti

Penso che il problema possa essere la linea console.log ().Con IE, (credo) La console è disponibile solo quando viene aperto il debugger, quindi viene generato un errore se non lo è.

Sostituisci console.log (stato) con Alert (stato) e si spera che lo vedrà.

Apparently Microsoft killed the project, but open-sourced it and now it is on Codeplex:

http://linqtoxsd.codeplex.com

I think the project is no longer active and it is not available in Visual Studio 2008

You can find more info on this topic isLinq2XSD Dead?

if you reference the xsd file from inside thet xml file then you can get strongly typed linq iirc.

you then need to include the xsd into the project.

although i do have to say from experience that it is a lot easier to just cast the values as they come out. The xsd approach is a bit fragile and clunky i have found.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top