Check that any other projects with a reference to the file you are trying to build is closed. Also, you may need to do an IISReset if this is a web project. IIS can hold a reference to the file keeping a lock on it and thus not allowing an overwrite.
Christopher B. Snider Technical Lead, Reg.Net Team 719.302.0200 x403 chris_snider (Yahoo! messenger ID) ----------------------------------------------------------- "When all men think alike, no one thinks very much" Walter Lippmann -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sattapattu Sent: Monday, March 24, 2008 5:11 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Error checking enterprise template project. Access to the path is denied Hi, I am trying to compile a web code via Nant, but i am getting an error similar to this ... buildPaySimpleWeb: [solution] Starting solution build. fail: ------------------------------- BUILD FAILED Error checking whether 'D:\ACSatesh\PaySimple\PaySimpleWeb1\PaySimpleWeb' is an enterprise template project. Access to the path 'D:\ACSatesh\PaySimple\PaySimpleWeb1\PaySimpleWeb' is denied. Total time: 13.4 seconds. -------------------------------- the code to run it is : <property name="slnfile" value="D:\ACSatesh\PaySimple\PaySimpleWeb1\PaySimpleWebCode"/> <solution solutionfile="${slnfile}\PaySimpleWebCode.sln" configuration="release" failonerror="true" outputdir="${buildpath}\output" verbose="true"> </solution> </target> The path is right and i don't see why the access denied error is being thrown. Is there anything that i have missed out. Can you please bail me out of this. -- View this message in context: http://www.nabble.com/Error-checking-enterprise-template-project.-Access -to-the-path-is-denied-tp16248445p16248445.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 ------------------------------------------------------------------------- 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