summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.BuildTasks/FixupReferenceHintPaths.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-15 15:27:22 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-15 15:27:22 -0800
commit2ff3e125a7db35ce459b89add580aedf7d2bd7d4 (patch)
tree965802693892616db01cf6997f060dda44518697 /src/DotNetOpenAuth.BuildTasks/FixupReferenceHintPaths.cs
parent06a07e1f08fbf8f9307a591da637fcb30edd9c45 (diff)
downloadDotNetOpenAuth-2ff3e125a7db35ce459b89add580aedf7d2bd7d4.zip
DotNetOpenAuth-2ff3e125a7db35ce459b89add580aedf7d2bd7d4.tar.gz
DotNetOpenAuth-2ff3e125a7db35ce459b89add580aedf7d2bd7d4.tar.bz2
The built project template (once again) generates a .zip file that works out of the box.
The build.proj contains some magic strings we'd rather not have, but we can resolve those later.
Diffstat (limited to 'src/DotNetOpenAuth.BuildTasks/FixupReferenceHintPaths.cs')
-rw-r--r--src/DotNetOpenAuth.BuildTasks/FixupReferenceHintPaths.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.BuildTasks/FixupReferenceHintPaths.cs b/src/DotNetOpenAuth.BuildTasks/FixupReferenceHintPaths.cs
index c8b039a..13a4b8f 100644
--- a/src/DotNetOpenAuth.BuildTasks/FixupReferenceHintPaths.cs
+++ b/src/DotNetOpenAuth.BuildTasks/FixupReferenceHintPaths.cs
@@ -19,18 +19,20 @@ namespace DotNetOpenAuth.BuildTasks {
/// <summary>
/// Gets or sets the projects to fixup references for.
/// </summary>
+ [Required]
public ITaskItem[] Projects { get; set; }
/// <summary>
/// Gets or sets the set of full paths to assemblies that may be found in any of the <see cref="Projects"/>.
/// </summary>
+ [Required]
public ITaskItem[] References { get; set; }
/// <summary>
/// Executes this instance.
/// </summary>
public override bool Execute() {
- if (this.References == null || this.Projects == null || this.References.Length == 0 || this.Projects.Length == 0) {
+ if (this.References.Length == 0 || this.Projects.Length == 0) {
this.Log.LogMessage(MessageImportance.Low, "Skipping reference hintpath fixup because no projects or no references were supplied.");
return !this.Log.HasLoggedErrors;
}