Your patch has been committed to cvs.
Thanks !
Gert
----- Original Message -----
From: "Horsfield, Peter A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 31, 2004 7:35 PM
Subject: [nant-dev] [Patch] 926822 (delete 926821) Friendly error message if
no SDK f ound and solution/project build needs it
> P.S. Sorry about the duplicate patch queue item!
>
> Real quick simple change that I thought was needed since I ended up
> launching
> Nant in a debugger to discover what the real problem was!
>
> Turns this:
>
> ====================
>
> BUILD FAILED
>
> Unexpected error while compiling project 'PLWeb'
> Object reference not set to an instance of an object.
>
> ------------------------------------
> Into this:
> ------------------------------------
>
> BUILD FAILED
>
> While building PLWeb:
> The framework SDK directory was not found or not set.
> You may need to specify a specific framework to use with the -k: command
> line option.
>
> ======================
>
> One file changed (Nant.VSNet/Project.cs)
> Diff is from CVS today
>
> Only change in diff:
>
> + // Check that we have an SdkDirectory
> available
> + if(null ==
> SolutionTask.Project.TargetFramework.SdkDirectory)
> + {
> + throw new
> BuildException(string.Format(CultureInfo.InvariantCulture,
> + "While building {0}:" +
> Environment.NewLine +
> + " The framework SDK directory
was
> not found or not set." + Environment.NewLine +
> + " You may need to specify a
> specific framework to use with the -k: command line option.",
> + Name),
Location.UnknownLocation);
> + }
>
> // Append the correct SDK directory to
the
> program
> program =
> Path.Combine(SolutionTask.Project.TargetFramework.SdkDirectory.FullName,
> program);
>
> Regards,
>
> Peter
>
> Peter Horsfield
> <<Project.cs>> <<friendlySdkError.patch>>
>
>
>
> >>> The information contained in this e-mail transmission is privileged
and/or confidential intended solely for the exclusive use of the individual
addressee. If you are not the intended addressee you are hereby notified
that any retention, disclosure or other use is strictly prohibited. If you
have received this notification in error, please immediately contact the
sender and delete the material.
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers