Cosmos/source/Cosmos.Build.Windows.Config/Tools.cs
mterwoord_cp 25bfaf9934
2008-01-21 18:19:45 +00:00

46 lines
917 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace Cosmos.Build.Windows.Config
{
public static class Tools
{
public static string CosmosPath { get; private set; }
static Tools()
{
CosmosPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
}
public static string CosmosDir(params string[] path)
{
string res = CosmosPath;
foreach (string p in path)
res = System.IO.Path.Combine(res, p);
return res;
}
public static string VSPath {
get;
set;
}
public static string VCSPath {
get;
set;
}
public static string VSTemplatePath {
get;
set;
}
public static string VCSTemplatePath {
get;
set;
}
}
}