Hi, I am trying to build a .NET (Framework version 1.1) project using Nant. Nant throws a fatal error LNK 1104 when it is not able to open nochkclr.obj. But VS2003 is able to skip that as a warning. The log is as follows:
************************** [cl] Generating Code... [link] Linking 15 files to 'D:\Diwakar\Script\bin\testcases.dll'. [link] LINK : fatal error LNK1104: cannot open file 'nochkclr.obj' BUILD FAILED ************************* Can any one help me by providing a solution for me. The following is the complete script file: ************************* <?xml version="1.0"?> <project name="testcases" default="build" > <property name="build.debug" value="testcases/debug" /> <property name="build.release" value="testcases/release" /> <property name="configuration" value="debug"/> <property name="expected.output" value="../bin/testcases.dll"/> <property name="solution.file" value="testcases/testcases.sln"/> <property name="temp.dir" value="testcases/temp"/> <property name="suo.file" value="testcases/testcases.suo"/> <property name="ncb.file" value="testcases/testcases.ncb"/> <target name="clean"> <delete file="${expected.output}" failonerror="false" /> <delete dir="${build.debug}" failonerror="false" /> <delete dir="${build.release}" failonerror="false" /> <delete dir="${temp.dir}" failonerror="false" /> <delete file="${suo.file}" failonerror="false" /> <delete file="${ncb.file}" failonerror="false" /> </target> <target name="build"> <solution configuration="${configuration}" solutionfile="${solution.file}" /> <fail unless="${file::exists(expected.output)}">Output file doesn't exist in ${expected.output}</fail> </target> </project> ************************* Thanks and regards, Diwakar ------------------------------------------------------- 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