static string GetReferenceRelativePath(BuildConstants buildConsants, ReferenceRelativeLocation location) { switch (location) { case ReferenceRelativeLocation.Project: return(string.Empty); case ReferenceRelativeLocation.TargetPath: return(buildConsants.TargetPath); case ReferenceRelativeLocation.Framework: return(FrameworkPath); default: throw new InvalidOperationException(); } }
public MetaReferenceAttribute(string dllName, ReferenceRelativeLocation relativeLocation = ReferenceRelativeLocation.Project) { DllName = dllName; RelativeLocation = relativeLocation; }