Hi Ian,

It's just a good programming practice to always specify the culture (FxCop considers 
it to be a rule violation when you don't specify the cultureinfo)

Gert

------------------------
 Ian MacLean <[EMAIL PROTECTED]> wrote:
------------------------
        
>Gert,
>I've applied this with some changes. I'm not sure what was behind your 
>use of the CultureInfo.InvariantCulture constant so I pulled it out. Can 
>you please explain what it was supposed to be doing ?
>
>Ian
>> Hi,
>>  
>> I noticed that you get a NullReferenceException when you try to read the 
>> value of a registry value name that does not exist using the 
>> ReadRegistry task. Apparently a ToString() was done first, instead of 
>> first checking if a value was retrieved.
>>  
>> Ian, can you please submit the included patch that will fix this issue.
>>  
>> Thanks,
>>  
>> Gert
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to