Failed to parse a .csproj file using XML::Smart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dli
    New Member
    • Jul 2007
    • 1

    Failed to parse a .csproj file using XML::Smart

    Hello,

    I am new to this community, and hope that you will be able to help me out with this.

    I am trying to load a .csporj file with:
    my $myXML = XML::Smart->new( $BuildFile, 'XML::Smart::Pa rser' ) ;

    but came back with this:
    junk '' before XML element

    Your suggestions on what went wrong or point me to a module that works for parsing .csproj will be appreciated.

    Thanks!
    d
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    To me it looks like output from a binary file. A .csproj file is a C# project file from Visual Studio. Are you positive this file is in XML format?

    Regards,

    Jeff

    Comment

    Working...