Hi Bobby,

I wonder if you should have:

public string slnFileName
^^^^^^ Public access.

I'm not sure - without looking at your source, I couldn't be sure. All of my
attributes are marked as public, and I've never had this problem.

Simon.

> -----Original Message-----
> From: Gill, Bobby [mailto:[EMAIL PROTECTED]] 
> Sent: 11 February 2003 14:59
> To: Simon Steele; [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Adding Tasks 0.7.9 vs 0.8
> 
> Another problem that I am having is with setting the values 
> of the TaskAttributes. For instance if I have:
> 
> [TaskAttribute("solution",Required = true)]
>               private string slnFileName 
>               {
>                       get { return  slnFileName_m; } set {
> slnFileName_m=value;}
>               }
> 
> Whenever I try to reference the slnFileName_m variable, I 
> receive Null pointer errors. My .build file does have the 
> solution attribute along with a value within, but for some 
> reason, it doesn't seem to be transferring over to the 
> variable within the solution property? Any ideas as to what I 
> am missing?? Thanks
> 
> Bobby Gill
> [EMAIL PROTECTED]

__________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to