Re: [Nant-users] Pass fileset to exec

2005-10-13 Thread Bill_Martin
Bill, I've started work on a set of fileset function in NAntContrib (see http://nantcontrib.sourceforge.net/nightly/latest/help/functions/index.html). If it would help, I could add a function in to convert a fileset to a string with optional delimiter, something like:         fileset::to-string

Re: [Nant-users] Setup and Deployment projects

2005-10-12 Thread Bill_Martin
I don't believe that NAnt can process vdproj files, however, you could use the EXEC task to invoke visual studio (not very desirable, but it works) or use the task in nant-contrib to create your installers. HTH, Bill "Andy Johnstone" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/10/

Re: [Nant-users] Visual Studio 2005 Beta 2

2005-09-27 Thread Bill_Martin
OK, had a look at this last night, and MS have done a bit of frigging about with the way applciaiotns can start. Basically if you go into the project options, there is a checkbox with something like "Enable application framework" on it. If this is checked, then it looks like when you compile th

Re: [Nant-users] Visual Studio 2005 Beta 2

2005-09-26 Thread Bill_Martin
Hmm.  That certainly looks right Mark.   I don't have VS2005 on my work machine, so I'll have to have a play when I get home tonight.  I don't know if it has changed in 2005 now you can have unreferenced forms, but in 2003, you still had a void Main in the startup form that started the applicatio

Re: [Nant-users] Visual Studio 2005 Beta 2

2005-09-26 Thread Bill_Martin
What are you specifying for the target attribute of  This needs to be "winexe" of it is a winforms appplication.  If you specify "exe" the compiler will treat it as a comnole applicaiton and therefore look for a void Main().  Can you post an example of your build script? Cheers, Bill Ma

Re: [Nant-users] Free version of Nant Pad?

2005-09-23 Thread Bill_Martin
You will also get an intellisense dropdown when you type xmlns= in the tag of the file. Thibaut Barrère <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 22/09/2005 17:03 Please respond to Thibaut Barrère                 To:        "Wilson, Glenn" <[EMAIL PROTECTED]>         cc:        nan

Re: [Nant-users] Free version of Nant Pad?

2005-09-22 Thread Bill_Martin
Basically, grab the NAnt.xsd file from the schema folder under NAnt and paste it into the \Common7\Packages\schemas\xml folder under your visual studio install (common7 might have been renamed in VS2005) Then in your nant scripts, include the xmlns attribute in the tag.  VS will prompt you with

[Nant-users] How many files are there?

2005-09-08 Thread Bill_Martin
Does anyone know if there is a way to determine if a fileset actually ccontains any files?  I actually want to perform conditional processing depending on whether a fileset has entries or not, so eother a test for files, or a count of the files will do. I could do a task on the fileset and set a

Re: [Nant-users] Property from fileset or vice versa?

2005-08-19 Thread Bill_Martin
Bill, Can't you use the refid?  You are creating a fileset with an id (), and you can refer to that anywhere else by using:         Which you can wrap in an task.  Alternatively, you could easily knock up a bit of script to create a function that will convert the fileset to a string.  I think

RE: [Nant-users] Query process

2005-08-12 Thread Bill_Martin
Even simpler, why not use: Process[] procs = Process.GetProcessByName("Flash"); if (procs.Length > 0) {     //One or more instances running - Do whatever } "Martin Thornalley" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/08/2005 14:50                 To:                 cc:        

RE: [Nant-users] Creating XML documentation with Solution task only

2005-08-10 Thread Bill_Martin
Hi Einar, Try with the latest build.  I've just knocked up a small test and I get the xml generated just from using the task.  All I did was create a C# library, add a couple of methods & xmldoc headers and set the doc name on the project properties in VS.  Then I did a NAnt script with a task

Re: [Nant-users] Creating XML documentation with Solution task only

2005-08-10 Thread Bill_Martin
Einar, Just to confirm, I presume you are writing in C#, not VB.NET? If it's a C# project, the documentation is actually produced by passing the /doc switch to the compiler.  This is an attribute in the task, so youcould try that to prove it works, if so, then it could be an issue with the tas

[Nant-users] task question

2005-08-08 Thread Bill_Martin
I know this is a NAnt contrib task, but there doesn't appear to be a contrib users group so I'll try here. Is there any way in the task of directly creating radio buttons for a dialog, or do I need to manually create the RadioButton table using the node? Cheers, Bill IMPORTANT The informat