The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

MCML Namespace System.Xml

Last post 02-24-2010, 4:00 AM by Xive. 1 replies.
Sort Posts: Previous Next
  •  02-24-2010, 3:49 AM 9566

    MCML Namespace System.Xml

     Hello,

    does anyone know if it is possible to use 'System.Xml' within MCML?

    xmlns:sysxml="assembly://System.Xml"

    fails in preview tool with the message

    "assembly://System.Xml: Failure loading assembly 'assembly://System.Xml'... 

    I thought System.Xml must be in the GAC (and available for MCML) because it is part of the .NET Framework.

     

    Thanks for any answer...
  •  02-24-2010, 4:00 AM 9567 in reply to 9566

    Re: MCML Namespace System.Xml

    Yes its possible,
    you may want to add the System.xml dll reference in you solution first to be able to compile.

    If that didn't work, may be you should follow another approach like using the System.xml in your c# ( you also need to add the reference  )
    make all the complicated processing there and make a function that return the result and link that function in your mcml.

    here is a nice topic that illustrate what i was talking about here

    Xive.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems