Dear Gert :
        I'm using the nant(version is nant-0.85-nightly) to build the
.net solution( the framework is 1.1 version) that  include a web
project.Some unimaginable things happend.
        the build file fragment is:

        <property name="Filename" value="F:\TestDailyBuild \ output \
TestDailyBuild \ TestSln \ Test.sln" />
        <property name="Configuration" value="DEBUG" />
        <property name="OutputFolder" value="F:\TestDailyBuild \ output
\ sln"/>
        <target name="t1">
                <vssget user="admin" password=""
localpath="F:\TestDailyBuild \ output"   replace="true"

                dbpath="\\ericzou\VSS\srcsafe.ini" path="$/" />
        </target>
        <target name="t2" depends="t1" >                
                 <solution   solutionfile="${Filename}"
outputdir="${OutputFolder}\" configuration="${Configuration}" >
                  <webmap>
                <map  url="http://localhost / WebApplicatio444 /
WebApplicatio444.csproj" 
                    path="F:\TestDailyBuild \ output \TestDailyBuild \
WebApplicatio444 \  WebApplicatio444.csproj" 
                        />
                </webmap>
                </solution>             
        </target>

A: 
         create a virtual directory on IIS ,the physical path is c:\
inetpub \ wwwroot \ WebApplication444
        no error  happend ,
B: 
         create a virtual directory on IIS ,the physical pah is F:\
webproject \ WebApplication444,
        get the following error
        "Cannot build web project
'http://localhost/WebApplicatio444/WebApplicatio444.csproj
        please use <webmap> to map the given URL to a project-relative
path,or specify 
        enablewebdav="true" on the <solution> task element to use
WebDAV."

        Must we  create the web proejct under the  wwwroot directory?

Best Regards
Eric 
2004-11-24


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to