The only way I can find to do this in .net 1.1 is using an API call to
[DllImport("kernel32")]
static extern bool SetConsoleTextAttribute(IntPtr hConsoleOutput, ConsoleColor wAttributes);
I can write that in as a 1.1 specific fix, but its pretty ugly from a platfrom-nonspecific point of view... Perhaps this functionality should simply not be available in 1.1 builds?
Thoughts?
On 7/7/06, Shmarya Rubenstein <[EMAIL PROTECTED]> wrote:
Ah....
I just noticed that the Console.ForegroundColor property is only available in .NET 2.0....
I am looking into a fix for 1.1 now...
ShmaryaOn 7/7/06, Ramya Niranjan <[EMAIL PROTECTED]> wrote:Hi,When I added this patch and tried to rebuild the DLL (NAnt.Core.Dll) I got the missing namespace error.(In VS .NET 2003) but it went through in VS 2005. Is there any constraint that I need to rebuild the component only with 2005 and not with 2003?Rgds,N
On 7/7/06, Shmarya Rubenstein <[EMAIL PROTECTED] > wrote:Hi all,
I have attached a patch that sets the text "BUILD FAILED" to be red in the console output. It makes it easier to see that something went wrong...
Thanks,
Shmarya
On 7/7/06, Gert Driesen <[EMAIL PROTECTED] > wrote:Robert,
You should contact the respective team ( draco.net, or cc.net). This is not
something we (NAnt team) control.
Gert
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED] ] On Behalf
> Of Robert Hanson
> Sent: donderdag 6 juli 2006 22:56
> To: NAnt-users@lists.sourceforge.net
> Subject: [NAnt-users] Change the appearance of the "Build
> failed" error msgs
>
> When my build fails, I receive an email that is a horrible
> red color that is really hard to read.
>
>
>
> Can I change this to something else and/or putz with the font
> to get it more readable?
>
>
>
> Thanks.
>
>
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users--
Shmarya
-----------------------------------------------------------
[EMAIL PROTECTED] - http://shmarya.net
NUnit rocks! http://nunit.com
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
--
Shmarya
-----------------------------------------------------------
[EMAIL PROTECTED] - http://shmarya.net
NUnit rocks! http://nunit.com
--
Shmarya
-----------------------------------------------------------
[EMAIL PROTECTED] - http://shmarya.net
NUnit rocks! http://nunit.com
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users