Bugs item #3416986, was opened at 2011-10-01 15:58
Message generated for change (Comment added) made by tylerk1993
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=402868aid=3416986group_id=31650
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: cvs
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Tyler (tylerk1993)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot Compile NAnt CVS Head on Win XP
Initial Comment:
Whenever I try to build NAnt (the CVS head revision) on Windows XP, VS 2010
Ultimate, .NET Framework 4.0, I get an error when the bootstrapped NAnt is
trying to build the documentation:
[exec] BUILD FAILED
[exec]
[exec] C:\NAnt\NAnt.build(361,14):
[exec] Error building documentation.
[exec] This method implicitly uses CAS policy, which has been
obsoleted by the .NET Framework. In order to enable CAS policy for
compatibility reasons, please use the NetFx40_LegacySecurityPolicy
configuration switch. Please see http://go.microsoft.com/fwlink/?LinkID=155570
for more information.
[exec]
[exec] Total time: 1.2 seconds.
[exec]
BUILD FAILED
C:\NAnt\NAnt.build(335,10):
External Program Failed: C:\NAnt/build/nant-0.91-dev/bin/NAnt.exe (return code
was 1)
Total time: 10.9 seconds.
NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1'
Stop.
C:\NAnt
--
Comment By: Tyler (tylerk1993)
Date: 2011-10-01 17:40
Message:
And the strange thing is that one can build *without* the install target
and it builds successfully (but might not be the complete NAnt distro
needed to build other apps).
--
Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-01 17:27
Message:
Ah, I was able to replicate. I believe that the issue may be with the NDoc
libs that are used to generate NAnt's docs. I am working on this now.
--
Comment By: Tyler (tylerk1993)
Date: 2011-10-01 16:57
Message:
The file I just posted is a log file I generated with the output from the
nmake command.
--
Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-01 16:25
Message:
Ok try this then,
nmake -f Makefile.nmake TARGET=net-4.0 prefix=c:\program files
--
Comment By: Tyler (tylerk1993)
Date: 2011-10-01 16:19
Message:
I am using Microsoft NMake. I first ran vsvars32.bat (from
%VS100COMNTOOLS%).
--
Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-01 16:13
Message:
If you are using make to build, try using the TARGET=net-4.0 argument.
--
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=402868aid=3416986group_id=31650
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers