I guess it depends on what's in your script. Perhaps it is a problem when using the solution tag. My build scripts just run msbuild which doesn't have a problem if the solution is open.
Also, if you call the compilers directly rather than the solution tag it isn't a problem. (See JP Boodhoo's video on setting up Nant/CCnet) BOb -----Original Message----- From: Paul LeBlanc [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 12:11 PM To: Bob Archer; Chris Snider; Sattapattu; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Error checking enterprise template project.Accessto the path is denied Bob, let's say it's not NUnit and you build and run from the IDE. If you try to then run from the prompt with Nant I don't know how that works without closing the IDE. -----Original Message----- From: Bob Archer [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 11:48 AM To: Paul LeBlanc; Chris Snider; Sattapattu; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Error checking enterprise template project.Accessto the path is denied I run builds with the IDE open all the time. BOb -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul LeBlanc Sent: Monday, March 24, 2008 11:46 AM To: Chris Snider; Sattapattu; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Error checking enterprise template project.Accessto the path is denied Close the IDE, right (in many cases)? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Snider Sent: Monday, March 24, 2008 10:52 AM To: Sattapattu; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Error checking enterprise template project. Accessto the path is denied 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------ - 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------- 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