Click here to Skip to main content
15,892,517 members

Comments by Member 10242311 (Top 10 by date)

Member 10242311 17-Jun-19 7:08am View    
XML has a single root element only.
Member 10242311 17-Jun-19 7:07am View    
Hi OriginalGriff, I have used valid XML file only. in both dev & production, I used the same file.

but this is working fine in dev, but throws exception in production (executed file).
Member 10242311 17-Jun-19 5:05am View    
XML has single item only as root, this working fine when running with visual studio. but not working run as an executable file in a command prompt
Member 10242311 17-Jun-19 4:55am View    
C:\Users\201875>E:\Files\AutoUpdater.exe E:\Updater\00560-ch0003_Release_141_Jan2019.docx E:\Updater\00560-ch0003_before.xml
Invalid XML document. The document does not have a root element.


In this second line is the error. this is happened only running with executable files in command prompt.
Member 10242311 17-Jun-19 4:49am View    
string xml="E:\before.xml"; is changed and gets the values from command line argument.

C:\Users\201875>E:\Files\AutoUpdater.exe "E:\Updater\00560-ch0003_Release_141_Jan2019.docx" "E:\Updater\00560-ch0003_before.xml"

still im facing the issues