Hi, I am a new learner to Nant. I am not with a peculiar error. Please let me know the feasible solution. I am trying to build a solution file using Nant. I have mentioned the code below. But NaNt is throwing numerous error. I have pasted that below .... After researching on the net it seems Nant is looking for Hint path in the Project files. So wanted to make sure if i am on the right rack before i proceed to the developers to tell them to modify the project files. i have tried including the assembly folders but of no use.
The error i get is : buildPaySimpleGateway: D:\ACSatesh\NAnt_Workplace\PaySimpleBuildAutomation.build(66,5): Element <includes... /> for <assemblyfolders... /> is deprecated. Use <include> element instead. [solution] Starting solution build. [solution] Building 'Common' [Release] ... [solution] Schedule\ISchedulingService.cs(4,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\ICustomReportService.cs(7,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\IStandardReportService.cs(4,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\IAuthenticationService.cs(6,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\IAuthorizationService.cs(8,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\IBatchService.cs(7,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\IBillingService.cs(6,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\IClientBillingService.cs(6,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\IClientService.cs(6,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\ICoBrandingService.cs(7,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) [solution] Service\IConfigurationService.cs(6,14): Error CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?) ...... ...... ...... ...... ...... [solution] Service\IUserService.cs(44,10): Error CS0246: The type or namespace name 'OperationContract' could not be found (are you missing a using directive or an assembly reference?) [solution] Service\IUserService.cs(11,6): Error CS0246: The type or namespace name 'ServiceContract' could not be found (are you missing a using directive or an assembly reference?) [solution] Project 'Common' failed! [solution] Continuing build with non-dependent projects. [solution] Building 'PaysimpleFNBODownloadService' [Release] ... [solution] Building 'KeyGeneratorType1' [Release] ... [solution] Building 'KeyGeneratorType2' [Release] ... [solution] [solution] Solution failed to build! Failed projects were: [solution] - Common [solution] D:\ACSatesh\NAnt_Workplace\PaySimpleBuildAutomation.build(64,4): [solution] Project build failed. fail: BUILD FAILED - 1538 non-fatal error(s), 1 warning(s) D:\ACSatesh\NAnt_Workplace\PaySimpleBuildAutomation.build(74,4): Could not find file 'D:\ACSatesh\VSS_WorkPlace\output\ACHPayment.dll' to copy. Total time: 3.5 seconds. The code written to build the file is <target name="buildPSGateway" description="Compile the PSapplication."> <solution solutionfile="D:\AC\PS\PGateway\PSPGateway.sln" configuration="release" failonerror="false" outputdir="${buildpath}\output"> </solution> Can you please help me out in this... -- View this message in context: http://www.nabble.com/Building-.net-compoenents-if-hintpath-is-not-mentioned-tp16245811p16245811.html Sent from the NAnt - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users