[Mono-list] Trouble running xbuild nightly

mausch mauricioscheffer at gmail.com
Thu Oct 1 21:01:35 EDT 2009


Thanks. I just got Mono 2.6 preview 1 (Windows) and I'm getting this error
while building GitSharp (http://github.com/henon/GitSharp):

[snip GitSharp.Core.csproj seems to build ok]

Project "C:\prg\gitsharp\GitSharp\GitSharp\GitSharp.csproj" (Build
target(s)):
				
				Target _ValidateEssentialProperties:
				
				Target PrepareForBuild:
						Configuration: Debug Platform: AnyCPU
				
				Target AssignProjectConfigurations:
: error : XmlException while parsing SolutionConfigurationContents:
System.Xml.XmlException: a name did not start with a legal character 92 (\) 
Line 1, position 117.
  at Mono.Xml2.XmlTextReader.ReadName (System.String& prefix, System.String&
localName) [0x00000] 
  at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00000] 
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] 
  at Mono.Xml2.XmlTextReader.Read () [0x00000] 
  at System.Xml.XmlTextReader.Read () [0x00000] 
  at System.Xml.XmlReader.ReadString () [0x00000] 
  at System.Xml.XmlTextReader.ReadString () [0x00000] 
  at Microsoft.Build.Tasks.AssignProjectConfiguration.Execute () [0x00000] 



Ankit Jain wrote:
> 
> Also, update xbuild.exe, Microsoft.Common.targets,
> Microsoft.CSharp.targets,
> from the prefix/lib/mono/2.0 dir, and copy prefix/lib/mono/xbuild/* .
> 
> -Ankit
> 
> On Thu, Oct 1, 2009 at 2:03 AM, Robert Jordan <robertj at gmx.net> wrote:
>> mausch wrote:
>>> I'm trying to get xbuild nightly running and I'm having some problems. I
>>> first installed the 2.4.2.3 release, then I got the latest nightly
>>> binaries
>>> (monocharge-20090928) and copied the 2.0 dir into C:\Program Files
>>> (x86)\Mono-2.4.2.3\lib\mono\2.0.
>>>
>>> Now, when I run xbuild from the mono command-line I get this error:
>>>
>>> Corlib not in sync with this runtime: expected corlib version 69, found
>>> 84.
>>> Loaded from: C:\PROGRA~2\MONO-2~1.3\lib\mono\2.0\mscorlib.dll
>>> Download a newer corlib or a newer runtime at
>>> http://www.go-mono.com/daily.
>>
>> Well, you've managed to break your installation. Monocharge is
>> not intended to be used like this. It's only useful if a developer
>> has told you which assemblies to pick from it.
>>
>> I suggest you to reinstall Mono and update only the Microsoft.Build.*
>> assemblies from monocharge.
>>
>> Robert
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
> 
> 
> 
> -- 
> Blog : http://www.ankitjain.org/blog
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Trouble-running-xbuild-nightly-tp25649078p25709035.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list