Hi,
>
>
> I try executing Nant latest on win2k/.net framework 1.1, it throws the
> System.TypeInitializationException
>
>
> Unhandled Exception: System.TypeInitializationException:
> The type initializer for "SourceForge.NAnt.ConsoleStub" threw an
exception.
> ---> System.TypeInitializationExceptio
you have to increment the version number yourself. the compiler doesn't
do it on its own.
there is a task in nantcontrib that helps do that
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nantcontrib/NAntContrib/s
rc/Tasks/
look for AssemblyInfoTask.cs
you can download the latest builds for nan
I need to specify the version number of the C # .NET assembly I am
compiling. By default, the version number is 0.0.0.0. As I run the daily
build, I want the version number to be incremented in the version property
of the project also.
My csc task looks like this :
i don't understand the question, gokul.
are you talking about the version of the .net framework?
the assembly version for your project?
could you please provide an example of the task and the output you're
getting?
/jean
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL P
Hello,
When I compile a C # .NET assembly, I need to specify the version
attribute. I could not find an attribute in csc task. Point me in the right
direction.
Thanks,
Gokul
_
MSN 8 helps eliminate e-mail viruses. Get 2 months F
Ian,
many thanks, this worked a treat.
- Original Message -
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Tony Hamill" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 2:40 AM
Subject: Re: [Nant-users] Couple of Questions: and writing out to
logfiles
> Tony,
>
this here works for me, where c:\test\test2\ remains after the task :
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Peter Lanoie
> Sent: Monday, June 16, 2003 11:36
> To: [EMAIL PROTECTED];
> [EMAIL PROTECTED]
>
Hey NAnt-folks,
I've been trying to figure out what's going on with the task. I'm
seeing something strange.
When I do this:
All the FILES in the tree of the basedir are deleted, but the directories in
the tree remain.
When I modify the include to this: