Bugs item #1112631, was opened at 2005-01-30 17:43
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1112631&group_id=31650

Category: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: fabian seoane (fseoane)
Assigned to: Nobody/Anonymous (nobody)
Summary: nant from cvs does not compile with mono

Initial Comment:

I cannot compile nant from CVS, seems like
src/NAnt.DotNet/Tasks/NDocTask.cs has an ambiguous
reference, but i cannot guess which is the correct one. 

I tried with mono/mcs both versions 1.0.1 (packaged for
ubuntu) and mono from svn. 


[EMAIL PROTECTED]:~/mono/nant $ make
mkdir -p bootstrap
cp -R lib/ bootstrap/lib
# Mono loads log4net before privatebinpath is set-up,
so we need this in the same directory
# as NAnt.exe
cp lib/log4net.dll bootstrap
cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
~/local/bin/mcs -target:exe -define:MONO
-out:bootstrap/NAnt.exe -r:bootstrap/log4net.dll         
-recurse:src/NAnt.Console/*.cs
src/CommonAssemblyInfo.cs
~/local/bin/mcs -target:library -warn:0 -define:MONO
-out:bootstrap/NAnt.Core.dll -r:lib/log4net.dll         -r:System.Web.dll 
-recurse:src/NAnt.Core/*.cs
src/CommonAssemblyInfo.cs
~/local/bin/mcs -target:library -warn:0 -define:MONO
-out:bootstrap/NAnt.DotNetTasks.dll
-r:./bootstrap/NAnt.Core.dll         -r:bootstrap/lib/mono/1.0/NDoc.Core.dll
-recurse:src/NAnt.DotNet/*.cs         src/CommonAssemblyInfo.cs
src/NAnt.DotNet/Tasks/NDocTask.cs(389) error CS0104:
`Project' is an ambiguous reference (NDoc.Core.Project
or NAnt.Core.Project)
src/NAnt.DotNet/Tasks/NDocTask.cs(397) error CS0104:
`Project' is an ambiguous reference (NDoc.Core.Project
or NAnt.Core.Project)
Compilation failed: 2 error(s), 0 warnings
make: *** [bootstrap/NAnt.DotNetTasks.dll] Error 1


----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2005-02-02 06:10

Message:
Logged In: YES 
user_id=707851

For now, I've committed workarounds for the mono bug.

Can you try building from cvs again ?

----------------------------------------------------------------------

Comment By: fabian seoane (fseoane)
Date: 2005-01-31 10:31

Message:
Logged In: YES 
user_id=910443

my error, it DOES compile with mono 1.0.1

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2005-01-31 09:37

Message:
Logged In: YES 
user_id=707851

Are you sure that you get the same error when using Mono 
1.0.1 ?

I only get this compile error using Mono SVN.

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2005-01-31 09:18

Message:
Logged In: YES 
user_id=707851

This is caused by a regression in Mono. I've filed a bug report 
for this : http://bugzilla.ximian.com/show_bug.cgi?id=71992


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1112631&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to