I'm getting: error CS0518: Predefined type 'System.Object' is not
defined or imported
So I tried nant -v, and I don't see any references being passed to csc
(they should show up in the verbose output right?), that would
certainly explain the problem.
My build file is very simple:
<project name="master" default="build">
<property name="nant.settings.currentframework"
value="silverlight-2.0"/>
<target name="build">
<csc target="library" output="master.dll" debug="false"
optimize="true" rebuild="true" define="SILVERLIGHT">
<sources>
<include name="FixedPage.cs" />
</sources>
<references basedir="C:\Program Files (x86)\Microsoft
SDKs\Silverlight\v2.0\Reference Assemblies" failonempty="true">
<include name="agcore.dll" />
<include name="mscorlib.dll" />
<include name="System.dll" />
<include name="System.Windows.dll" />
</references>
</csc>
</target>
</project>
I did edit NAnt.exe.config for framework name=silverlight-2.0 to set:
frameworkassemblydirectory="C:\Program Files (x86)\Microsoft
SDKs\Silverlight\v2.0\Reference Assemblies"
clrversion="2.0.31005.0"
Surely I'm making a simple newbie mistake of some kind here?
Thanks,
-Dan
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users