[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Build Failed while Building Tortoise svn in windows xp

From: SVram <malsam.v2_at_gmail.com>
Date: Mon, 23 Nov 2009 22:19:11 -0800 (PST)

Stefan Küng wrote:
>
>> Hello Andy,
>>
>>                  Actually I posted the error wrongly. Just now I saw that
>> and edited my entry. Actually the problem is not with FOP. My build
>> failed
>> showing an error as follows
>>
>>
>>  BUILD FAILED
>>
>>            H:\SVN\tortoisesvn\Languages\LanguagePack.build(40,4):
>>            Compilation failed:
>>            c:\Documents and Settings\svram\Local
>> Settings\Temp\j3bqonxj.0.cs(20,14) : error CS0234: The type or namespace
>> name 'Xml' does not exist in the namespace 'System' (are you missing an
>> assembly reference?)
>>            c:\Documents and Settings\svram\Local
>> Settings\Temp\j3bqonxj.0.cs(192,46) : error CS0246: The type or namespace
>> name 'XmlNode' could not be found (are you missing a using directive or
>> an
>> assembly reference?)
>
> I've never seen this error.
> Do you have .NET 2.0 installed?
> Which version of NAnt are you using?
>
> Stefan
>

Yes stefan. I have .NET 2.0.50727 installed and I am using NANT 0.86 beta 1
version. Plz correct me if I am wrong Isn't that the error related to
"Adding reference to assembly (here: system.xml.dll ) because the error
shown in LanguagePack.build(40,4) The corresponding source lines are as
follows

target name="createecho2">
                <script language="C#" prefix="tsvn">

                        <imports>
                                <import namespace="System.Globalization" />
                                <import namespace="System.Xml" />
                                           ^^^^^^^^^^^^^^^^^
                                <import namespace="NAnt.Core.Attributes" />
                                <import namespace="NAnt.Core.Util" />
                                <import namespace="NAnt.Core.Tasks" />
                        </imports>

I tried the following

1. Copied system.xml.dll from
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" to "C:\Program
Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies"

2. Edited the "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe"
(XML file ) and added the following code snippet

<runtime>
      <Reference Include="System" />
        ^^^^^^^^^^^^^^^^^^^^ -> Added line
      <Reference Include="System.Xml" />
       ^^^^^^^^^^^^^^^^^^^^ -> Added line
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Microsoft.Build.Framework"
publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-99.9.9.9"
newVersion="2.0.0.0"/>
            </dependentAssembly>
        </assemblyBinding>
    </runtime>

Still it throws the same error. Some kind of minor issue eats all my time. I
could not trace out the exact cause for that.

Thanks & Regards,
Ram.

-- 
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26490982.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2423679
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-24 07:19:15 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.