It seems as though there is a problem when NAnt builds the path to the solution file under Linux.  If the path name contains a mix of upper and lower case letters, all upper case letters are converted to lower case. So if the solution file is specified in the build file as "/home/user/Demo/DemoApp.sln", NAnt tries to find the file as “/home/user/demo/demoapp.sln”.

 

Is there a switch or something I am missing when running on a Linux platform?

 

Here are parts of the bulf file and the error I am getting:

 

<target name="build">

                        <tstamp/>

                        <echo message="Building Solution"/>

                        <attrib readonly="false">

            <fileset>

                <includes name="**/*.bmp" />

            </fileset>

        </attrib>

                        <solution configuration="debug" solutionfile="/home/user/Demo/DemoApp.sln">       

                        </solution>

         …

 

I get  the following error:

 

Couldn't find solution file '/home/user/demo/demoapp.sln'.:

 

NAnt.Core.BuildException: /home/user/Demo/Demo.build(35,3):

Couldn't find solution file '/home/user/demo/demoapp.sln'.

in <0x000fb> NAnt.VSNet.Tasks.SolutionTask:InitializeTask (System.Xml.XmlNode)

in <0x0000e> NAnt.Core.Task:InitializeElement (System.Xml.XmlNode)

in <0x0017e> NAnt.Core.Element:Initialize (System.Xml.XmlNode)

in <0x00050> NAnt.Core.Project:CreateTask (System.Xml.XmlNode,NAnt.Core.Target)

in <0x00225> NAnt.Core.Target:Execute ()

in <0x000c6> NAnt.Core.Project:Execute (string,bool)

in <0x003ad> NAnt.Core.Project:Execute ()

in <0x0017c> NAnt.Core.Project:Run ()

 

 

-thanks

Reply via email to