[Mono-bugs] [Bug 528389] New: prj2make InvalidOperationException
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Aug 5 08:03:46 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=528389
Summary: prj2make InvalidOperationException
Classification: Mono
Product: Mono: Tools
Version: 2.4.x
Platform: x86
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P5 - None
Component: tools
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: compaqdrew at sbcglobal.net
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=310704)
--> (http://bugzilla.novell.com/attachment.cgi?id=310704)
Solution that reproduces behavior
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
prj2make encounters an InvalidOperationException: There is an error in XML
document when parsing an XML file that passes a w3c validation test.
Reproducible: Always
Steps to Reproduce:
1. Use the monodevelop preview 2009/07/06 build to make a comand-line C#
solution (sample solution attached)
2. Run prj2make solution-name.sln
Actual Results:
CurrentDirectory=/Volumes/y/drew/Projects/test
Could not load the file test/test.csproj
InvalidOperationException: There is an error in XML document.
at System.Xml.Serialization.XmlSerializer.Deserialize
(System.Xml.Serialization.XmlSerializationReader reader) [0x00000]
at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader
xmlReader) [0x00000]
at System.Xml.Serialization.XmlSerializer.Deserialize (System.IO.Stream
stream) [0x00000]
at Mfconsulting.General.Prj2Make.CsprojInfo.LoadPrjFromFile (System.String
strIn) [0x00000]
at Mfconsulting.General.Prj2Make.CsprojInfo..ctor (Boolean isUnixMode,
Boolean isMcsMode, System.String name, System.String guid, System.String
csprojpath) [0x00000]
Error running pkg-config. Check the above output.
EXCEPTION: System.NullReferenceException: Object reference not set to an
instance of an object
at Mfconsulting.General.Prj2Make.SlnMaker.MsSlnHelper (Boolean isUnixMode,
Boolean isMcsMode, Boolean isSln, System.String slnFile) [0x00000]
Expected Results:
Makefiles to be generated
Confirmed the csproj file in question is valid XML via the w3c validator
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list