473,586 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NAnt delete task fails on network share

I have an NAnt script that gets launched by CruiseControl whenever
someone checks a file from the project into our CVS repository.

The first step after the checkout is to clean the project's bin
directory and delete the compiled DLLs. However when the delete task is
run I get this error..

clean:
[delete] Deleting 45 files.
BUILD FAILED
F:\XXXX\X.build (105,4):
Cannot delete file 'F:\XXX\XXX.dll '.
Invalid File or Directory attributes value.

Has anyone seen this error before?

The user has full rights to the directory it is trying to delete from
and can delete the file from Windows Explorer.

Sep 21 '06 #1
0 1570

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3797
by: HaukiDog | last post by:
Hi, I am trying to set up my C# web project to be compiled by NANT. Everything compiles and works fine within the IDE. I have a created a NANT build file which has a simple project tag, like this: <?xml version="1.0" ?> <project name="MyProject" default="build" basedir="."> <description>The Hello World of build files.</description>...
0
424
by: muesliflakes | last post by:
I wish to run Nant from my own application. I have included NAnt.Core and NAnt.DotNetTasks and calling out to NAnt as follows. StringWriter consoleOut = new StringWriter( ); Console.SetOut( consoleOut ); ConsoleDriver.Main( new string { "-buildfile:" + txtBuildFile.Text } );
3
4247
by: prabhupr | last post by:
Hi Folks Not sure if this is the right group, if not please re-direct me to the right one. Here is my question =============== When I compile my ASP.NET WEB project from VS 2005 (.NET Framework 2.0) IDE, it works fine, but if I use NANT (Build Automation) it gives me an error as follows:
4
1883
by: harleybl | last post by:
Hello, I have a C++ mixed mode dll ( unmanaged/managed ) that wraps a C# dll to provide some functionality for Microsoft Excel. I am able to compile my solution fine in Visual Studio .NET 2003 and it links and works with no errors. There is a desire at my company to have things checked out of source control and built on a machine dedicated...
12
18786
by: michael sorens | last post by:
So I have compiled a .dll file from a Visual Studio 2005 project containing a few dozen c# files. Now I want to automate this build using ant (have not yet looked at nant, but the rest of my complex build is done with plain ant). Could someone point me to any tutorial or other guide for doing this? I would even settle for just how to do it...
0
2105
by: james.mcdonagh | last post by:
Hi I am a newbie using nAnt for .net 2.0. As such I have not come across this bug before, and I would be happy of any help that you may be able to provide. In order to help I have included the nant file which is causing the problem, the object code that is not being built and the error message which is being produced. The weird thing is...
1
6167
by: jamesmcdonagh | last post by:
Hi newbie using nAnt for .net 2.0. I would be happy of any help that you may be able to provide. The weird thing is that VS.net builds without a problem. And the intellisense within the object WorkQueue knows that Master is referring to the PanelManager reference. nant file...
0
866
by: snatcher | last post by:
Hello, I am trying to create a Nant task that hooks until a compiler for matlab files. I want to be able to process XML like the following: <mcc attributes.....> <class name="foo"> <mfile attributes.... /> </class> <clsss name="bar"> <mfile attributes.../> </class> </mcc> I can get the top structure fine, but when I insert the...
1
2833
by: Sam | last post by:
This is probably the wrong group to post this in, but I'm not sure where it should go. If you have suggestions as to another group to post it let me know. In our Nant build file for our application. I want to first delete 2 folders if they exist. These folders then later get created. If the folders exist, I do not get errors, but if...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.