RE: Root element is missing




"Uday Raju" wrote:

Hi,

I have done windows application project using C#. wen I am working suddenly
power failure occured. After that i started the system. I have different
projects in solution. I am using refernces to eash other. The project which
i was working is unable to reload.

I have removed from the solution and try to add- existing project. It
displays the error. Project file could not be loaded. root element is
missing.

How to reload the project. help me.

url:http://www.ureader.com/gp/1415-1.aspx


Hi,

It looks like the project file has gone corrupt. The csroj file is in xml
format and the error indicates the xml is invalid (root node is missing or
lacking the matching end). In that case you will need fix it manually or just
delete it and create a new project and add the code files to the new project.
If you want to attempt to patch it manually, use a working csproj file as
guide.

--
Happy Coding!
Morten Wennevik [C# MVP]
.



Relevant Pages

  • root element is missing
    ... Help, I can't get my outbound map to work, get the root element is missing ... Attached is my from and to xml schema. ... The Messaging Engine failed while executing the outbound map for the message ...
    (microsoft.public.biztalk.general)
  • Root element is missing
    ... I have done windows application project using C#. wen I am working suddenly ... missing. ... How to reload the project. ...
    (microsoft.public.dotnet.framework)
  • Re: How to debug SAX?
    ... > parser got presented and what causes the exception? ... The other thing to do is see if you can get *any* XML to parse. ... cause a "root element missing" error. ...
    (comp.lang.java.programmer)
  • Re: Editing XML
    ... I wonder how text and child nodes are distinguished in the XML text. ... The first is the processing instruction, which you'll typically ignore in XSLT. ... THe next is the element node named "tag" and the last is the text node. ... There is always exactly one root element in a valid XML document. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Missing Row in DataSet
    ... I finally got the tool working only to discover the XML ... been instructed to find is not missing, ... An XML schema allows you to declare a node as optional, ...
    (microsoft.public.dotnet.languages.csharp)

Quantcast