Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Error on line <line>. Expected 'expected' but found 'found'

Visual Studio .NET 2003

This is a general XML parsing error when reading the project file. This error can occur for project files (.vbproj/.csproj) as well as per-user settings files (.vbproj.user/.csproj.user). More information will be provided by the project system in the parameters expected and found.

This error is most likely caused by editing the project (or user) file by hand.

To correct this error

  • Edit the project file again and restore it to a satisfactory condition.

    Depending on the severity of the error, you may not be able to open the project.

See Also

Managing Projects

© 2015 Microsoft