In order to be able to take advantage of the intrinsic ease of the VStudio debug/fix/rebuild/debug process, I have VStudio able to build my projects, and then a NAnt script that can build it, deploy it, test it, etc.
In order to correctly fulfill the VStudio build, I have to implement PostBuild steps. And I would rather have them in one place. Either in NAnt OR in VStudio, but not both. (I thought of creating NAnt tasks and then calling them from my PostBuild steps, but haven't tried it yet). However, when called from NAnt, my postbuild steps are not run. If I include a ref to the SLN file, they do not run at all, no error, no warning. If I point at the SLN file and build the same thing, same problem (this is not acceptable, even if it worked). If I call the CSPROJ (preferred), I get: My build snippet of: <target name="datatypetests" depends="schemas, setup"> <property name="target.dir" value="${build.dir}/ConsoleClient" /> <solution configuration="${config}" verbose="false" outputdir="${target.dir}"> <projects> <includes name="QA_TestDriver.DataTypeTests\QA_TestDriver.DataTypeTests.csproj" /> </projects> </solution> </target> gets: [solution] Pre/post event macro $(SolutionDir) can not be set, no solution file specified. [copy] Copying 3 files to C:\dev\QA_TestDriver\build\ConsoleClient. [compile] ExecuteTestSuite.cs(51,17): error CS1501: No overload for method 'Signon' takes '2' arguments [compile] c:\dev\QA_TestDriver\source\lib\QA_TestDriver.Authentication.UI.dll: (Location of symbol related to previous error) [solution] Pre/post event macro $(SolutionDir) can not be set, no solution file specified. [solution] Pre/post event macro $(SolutionName) can not be set, no solution file specified. [solution] Pre/post event macro $(SolutionDir) can not be set, no solution file specified. [solution] Pre/post event macro $(SolutionName) can not be set, no solution file specified. [solution] Pre/post event macro $(SolutionDir) can not be set, no solution file specified. [solution] Build failed. [solution] Project 'QA_TestDriver.DataTypeTests' failed! [solution] Continuing build with non-dependent projects. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users