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.
Project.cs
Description: Binary data
friendlySdkError.patch
Description: Binary data
