//-----------------------------------------------------------------------
//
// Copyright (c) Andrew Arnott. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.BuildTasks {
using System;
using System.IO;
using Microsoft.Build.Utilities;
public abstract class SnToolTask : ToolTask {
///
/// Gets the name of the tool.
///
/// The name of the tool.
protected override string ToolName {
get { return "sn.exe"; }
}
///
/// Generates the full path to tool.
///
protected override string GenerateFullPathToTool() {
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), @"Microsoft SDKs\Windows\v6.0A\bin\" + this.ToolName);
}
}
}