[NAnt-users] Trying NAnt for first time, but can't get references to work?

2009-04-22 Thread Dan Eloff
I'm getting: error CS0518: Predefined type 'System.Object' is not defined or imported So I tried nant -v, and I don't see any references being passed to csc (they should show up in the verbose output right?), that would certainly explain the problem. My build file is very simple:

[NAnt-users] Property 'sdkInstallRoot' has not been set.

2009-04-22 Thread Bob Archer
I am using .86Beta1 and getting a funky error message. Here is the error message and stack trace output when running in -debug mode. Any ideas? I have a very simple build file thus far. Failed to initialize the 'Microsoft .NET Framework 2.0' (net-2.0) target framewo rk. Prope

Re: [NAnt-users] Delete not removing directories ...

2009-04-22 Thread Parrish, Ken
One more wrinkle to this problem that might be of interest. In order for the task to enable removal of a directory, it is necessary to append '/**' to any directory designation so as to include all the files in directory. Otherwise, the task will ignore the directory unless it's entire cont

Re: [NAnt-users] csc task to build 32bit exe and not "Any CPU"

2009-04-22 Thread Gert Driesen
Hi Raj, The task supports a "platform" attribute for this purpose. Hope this helps, Gert -Original Message- From: ptr2009 [mailto:ptrajku...@gmail.com] Sent: woensdag 22 april 2009 0:37 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] csc task to build 32bit exe and not "Any

[NAnt-users] SOLVED: RE: Delete not removing directories ...

2009-04-22 Thread Parrish, Ken
Scoured the documentation and discovered that will not act on ReadOnly files and directories. Marked the entire directory tree as Read/Write. Now everything is working as expected. Next up, an investigation into the task. Ken -Original Message- From: Brass Tilde [mailto:brassti..

Re: [NAnt-users] Delete not removing directories ...

2009-04-22 Thread Parrish, Ken
Bob, Brass, et. al., No luck so far. I tried all permutations that both you and Bob suggested, plus a variety of others. Bottom line is that I can't get to work on a item that represents a directory--no way, no how. I'm really baffled as to why this doesn't work. Might be time to dig into

Re: [NAnt-users] Delete not removing directories ...

2009-04-22 Thread Brass Tilde
>     >   defaultexcludes="false" > >     >     >     >   >     > >   What happens if you use "**/_vti_cnf/" or "**/_vti_cnf/**" and "Dashboard/" or "Dashboard/**" instead? /bs

Re: [NAnt-users] Delete not removing directories ...

2009-04-22 Thread Bob Archer
I recall having some funky stuff like this happen to. Is there stuff you don't want deleted? You might need to use: Or... I can't

[NAnt-users] Delete not removing directories ...

2009-04-22 Thread Parrish, Ken
I am trying to create a simple task that will purge 'garbage' out of a directory tree as specified in a element as follows: . . . . . .