Hi Tom, As I noticed, the solution task doesn't support compiling resources and idl files. I already posted a fix for the resources files, I will post the ones for idl by tomorrow.. I had to add some code to do that..
- Hani --- Tom McAnnally <[EMAIL PROTECTED]> wrote: > Here is a zipped up example project that exhibits > this issue. Please remove > "removethisextension" from the zip file name before > you try to extract it. > I have also included a simple NANT build file > midltest.build. > > > > Here is the output from the build. MIDLTest_i.c > doesn't exist because it is > generated from the MIDL complier which is not being > run by NANT. > > > > NAnt 0.85 (Build 0.85.1793.0; rc1; 11/28/2004) > > Copyright (C) 2001-2004 Gerry Shaw > > http://nant.sourceforge.net > > > > Buildfile: file:///D:/code/MIDLTest/midltest.build > > Target(s) specified: debug > > > > > > debug: > > > > [solution] Starting solution build. > > [solution] Loading projects... > > [solution] Loading project > 'D:\code\MIDLTest\MIDLTest.vcproj'. > > [solution] Loading project > 'D:\code\MIDLTest\MIDLTestPS.vcproj'. > > [solution] Gathering additional dependencies... > > [solution] Fixing up references... > > [solution] Building 'MIDLTest' [debug] ... > > [attrib] No matching files or > directories found. > > [cl] > 'D:\code\MIDLTest\Debug\stdafx.obj' does not exist, > reco > > mpiling. > > [cl] Compiling 1 files to > 'D:\code\MIDLTest\Debug'. > > [cl] Contents of > C:\DOCUME~1\tomm\LOCALS~1\Temp\tmp217C.tmp. > > [cl] /c > > [cl] /Fd"D:\code\MIDLTest\Debug/" > > [cl] /Fo"D:\code\MIDLTest\Debug/" > > [cl] ".\stdafx.cpp" > > [cl] /D "_MBCS" > > [cl] > > [cl] Starting 'cl > (@"C:\DOCUME~1\tomm\LOCALS~1\Temp\tmp217C.t > > mp" /D WIN32 /D _WINDOWS /D _DEBUG /D _USRDLL /D > WIN32 /D _WINDOWS /D _DEBUG > /D > > _USRDLL /EHsc /D _WINDLL /Yc"StdAfx.h" > /Fp"Debug/MIDLTest.pch" /MDd /W3 /ZI > /Od > > /nologo)' in 'D:\code\MIDLTest' > > [cl] stdafx.cpp > > [cl] > 'D:\code\MIDLTest\Debug\MIDLTest_i.obj' does not > exist, > > recompiling. > > [cl] Compiling 1 files to > 'D:\code\MIDLTest\Debug'. > > [cl] Contents of > C:\DOCUME~1\tomm\LOCALS~1\Temp\tmp217D.tmp. > > [cl] /c > > [cl] /Fd"D:\code\MIDLTest\Debug/" > > [cl] /Fo"D:\code\MIDLTest\Debug/" > > [cl] ".\MIDLTest_i.c" > > [cl] /D "_MBCS" > > [cl] > > [cl] Starting 'cl > (@"C:\DOCUME~1\tomm\LOCALS~1\Temp\tmp217D.t > > mp" /D WIN32 /D _WINDOWS /D _DEBUG /D _USRDLL /D > WIN32 /D _WINDOWS /D _DEBUG > /D > > _USRDLL /EHsc /D _WINDLL /MDd /W3 /ZI /Od /nologo)' > in 'D:\code\MIDLTest' > > [cl] MIDLTest_i.c > > [cl] c1 : fatal error C1083: > Cannot open source file: > '.\MIDL > > Test_i.c': No such file or directory > > > > BUILD FAILED > > > > External Program Failed: cl (return code was 2) > > > > Total time: 4 seconds. > > > > -Tom > > > > _____ > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Tom > McAnnally > Sent: Friday, December 03, 2004 10:29 AM > To: [EMAIL PROTECTED] > Subject: [nant-dev] solution target and vcproj > support for MIDL compiler > > > > Has anyone tried to build a COM based vc project. > It seems to me that NANT > doesn't run the MIDL compile and therefore cannot > build a COM based vc > project. > > > > -Tom > > > > > ATTACHMENT part 2 application/octet-stream name=MIDLTest.zip.removethisextension __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ------------------------------------------------------- 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-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers