Pedro,
<webmap> is a child element of <solution>, so you should have this :
<target name="compile">
<solution configuration="debug" solutionfile="${build.dir}\Netliga.sln">
<webmap>
<map url="http://localhost/Netliga/Web.csproj"
path="${build.dir}\Web.csproj" />
</webmap>
</solution>
</target>
NAnt should actually have reported that mistake. Let me have a look at this
later ...
Hope this helps,
Gert
----- Original Message -----
From: "Pedro Hon�rio Silva" <[EMAIL PROTECTED]>
To: "'Gert Driesen'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 2004 4:10 PM
Subject: RE: [Nant-users] Error Building Solution
Hi again Gert!
Now I get the following error:
compile:
[solution] Starting solution build.
BUILD FAILED
Cannot build web project 'http://localhost/Netliga/Web.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.
Total time: 0.2 seconds.
I have the following tag in my *.build file:
<target name="compile">
<solution configuration="debug" solutionfile="${build.dir}\Netliga.sln" />
<webmap>
<map url="http://localhost/Netliga/Web.csproj"
path="${build.dir}\Web.csproj" />
</webmap>
</target>
Pedro Hon�rio Silva
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen
Sent: ter�a-feira, 9 de Novembro de 2004 13:58
To: Pedro Hon�rio Silva; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Error Building Solution
Pedro,
If I recall correctly, I fixed this issue after the 0.84 release. Can you
try using a recent nightly build
(http://nant.sourceforge.net/nightly/builds) ?
Gert
----- Original Message -----
From: "Pedro Hon�rio Silva" <[EMAIL PROTECTED]>
To: "'Gert Driesen'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 2004 2:16 PM
Subject: RE: [Nant-users] Error Building Solution
Nant 0.84
Pedro Hon�rio Silva
-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: ter�a-feira, 9 de Novembro de 2004 13:13
To: Pedro Hon�rio Silva; 'Pieter Jansen van Vuuren';
[EMAIL PROTECTED]
Subject: Re: [Nant-users] Error Building Solution
Pedro,
What version of NAnt are you using ?
Gert
----- Original Message -----
From: "Pedro Hon�rio Silva" <[EMAIL PROTECTED]>
To: "'Pieter Jansen van Vuuren'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 2004 2:05 PM
Subject: RE: [Nant-users] Error Building Solution
Thank you for your answer.
Well, it didn't work.
I placed the following tag:
<webmap>
<map url="http://localhost/Netliga/Web.csproj"
path="${build.dir}\Web.csproj" />
</webmap>
inside the compile section, and it didn't work. I've placed it outside the
compile tag and still didn't work.
Am I doing something wrong?
Pedro Hon�rio Silva
_____
From: Pieter Jansen van Vuuren [mailto:[EMAIL PROTECTED]
Sent: ter�a-feira, 9 de Novembro de 2004 12:57
To: 'Pedro Hon�rio Silva'
Subject: RE: [Nant-users] Error Building Solution
I think you need to add
<webmap>
<map url="http://localhost/Netliga/Web.csproj"
path="${build.dir}\SkillsMatrix.Web.csproj" />
webmap>
or something similar.
Pieter
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pedro Hon�rio
Silva
Sent: 09 November 2004 02:42 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Error Building Solution
Hi there.
I'm getting the following error when building my project with NAnt:
compile:
[solution] Starting solution build.
BUILD FAILED
Error checking whether 'http://localhost/Netliga/Web.csproj' is an
enterprise template project.
The remote server returned an error: (403) Forbidden.
Total time: 0.2 seconds.
I know the reason for it is that NAnt is trying to browse a file that IIS
doesn't allow to be viewed, so the question is why is NAnt doing this?
Attached is my build file, for more info.
Pedro Hon�rio Silva
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users